Re: Re: Re: Re: Unexpected portlet reinitialization in noscript mode

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/Unexpected-portlet-reinitialization-in-noscript-mode-tp43691p43697.html

> Alessandro Vernet wrote:
>>> However, when testing directly at http://localhost:8080/orbeon/portlet-test/ 
>>>  this is not happening, so it must be a portlet issue.
>> Thank you for checking this. I am sorry, but we won't be able to  
>> help you much with this on the list, but please let us know if you  
>> find a solution to this one.
>
> It appears in our code (not the test-app) we have a workaround which  
> is saving the instance in xml-db just before toggling. We actually  
> don't know why that works.. maybe you have a clue?

Without debugging the code, it is beyond me why the issue occurs in  
the first place, or why your workaround would work either!

You can try a few (unpleasant) things:

* Enable XForms logging and check what's happening
* Use a Java debugger and check if XFormsToggleAction.java is reached  
what happens after that

> However, as this workaround may raise a performance-issue, I really  
> would like to get it working without it. Could you give me some  
> pointers on where to start here?
> And, would you say this is a confirmed bug now?

We haven't had any time to reproduce it but if things are as you  
describe them, it is most certainly a bug!

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws