http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252013-01-28T06:14:05ZRedmineWt - Bug #1644: crash in WApplication::instance()->session()->renderer().needUpdate(this, laterOnly) when invoked item->setData(boost::any(id), Wt::UserRole); ==> crash herehttp://redmine.emweb.be/issues/1644?journal_id=46172013-01-28T06:14:05ZKoen Deforchekoen@emweb.be
<ul></ul><p>Hey,</p>
<p>You are probably trying to update the model from outside the event loop ? Then you need to grab the UpdateLock or instead use WServer::post() to deliver the event.</p>
<p>Regards,<br><br>
koen</p>
Wt - Bug #1644: crash in WApplication::instance()->session()->renderer().needUpdate(this, laterOnly) when invoked item->setData(boost::any(id), Wt::UserRole); ==> crash herehttp://redmine.emweb.be/issues/1644?journal_id=46182013-01-28T06:14:23ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul> Wt - Bug #1644: crash in WApplication::instance()->session()->renderer().needUpdate(this, laterOnly) when invoked item->setData(boost::any(id), Wt::UserRole); ==> crash herehttp://redmine.emweb.be/issues/1644?journal_id=46222013-01-28T10:31:10Znavnidhi sharmanavnidhi@gmail.com
<ul></ul><p>Thanks for the quick response. But I could not follow you.</p>
<p>Could you provide the pseudo code? In my opinion the event loop is in main and the model is being updated in the associated class for the form in my app. There are a few such classes and they build and manage the UI and data themselves.</p>
<p>Thx</p>
Wt - Bug #1644: crash in WApplication::instance()->session()->renderer().needUpdate(this, laterOnly) when invoked item->setData(boost::any(id), Wt::UserRole); ==> crash herehttp://redmine.emweb.be/issues/1644?journal_id=46232013-01-28T21:31:04Znavnidhi sharmanavnidhi@gmail.com
<ul></ul><p>Got it using an example on the web. Thank you for your help</p>
Wt - Bug #1644: crash in WApplication::instance()->session()->renderer().needUpdate(this, laterOnly) when invoked item->setData(boost::any(id), Wt::UserRole); ==> crash herehttp://redmine.emweb.be/issues/1644?journal_id=46262013-01-29T07:39:07ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Rejected</i></li></ul>