WDialog fails with latest git
If I try to create a WDialog with this code (even before calling exec(), just by creating the object):
WDialog *dialog_ = new WDialog("Hi there") ;
The result is an error from the browser (Chrome) with this text:
Wt internal error: TypeError: Cannot set property 'wtResize' of undefined, code: undefined, description: undefined
StandardButton result = WMessageBox::show("Confirm", "About to wreak havoc... Continue ?", Ok | Cancel);
I get this:
error on line 4 at column 293: xmlParseEntityRef: no name
Updated by Koen Deforche over 7 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
- Target version set to 3.3.0
I can't reproduce this ...
From your description it sounds that any dialog or messagebox should fail, yet it works for all examples I tried...
To make sure that we are seeing different things, if you run the hangman example, treeview-dragdrop or the widget gallery examples, you see this problem ?
Updated by Miguel Revilla over 7 years ago
The hangman example was failing too for me so after some try and error I finally solved it. I had a "contaminated" wt_config.xml from the previous version of Wt that was making dialogs fail. Everything works like a charm now. Sorry for this and please mark the bug as invalid.
Thanks for your help