Skip to Content
0
Feb 20, 2009 at 07:18 AM

Portal calls doInitialization on already initialized component

20 Views

Hi

We've got an iView based on a JSPDynPage-component, and in our production-environment we have some problems with it. The component is basically a form that the user fills in to contact backoffice. Some random users experience problems with the form on what seems to be a random basis. Meaning they fill out the form, and when they try to submit it, it just refreshes itself making them loose everything they just wrote.

The logs show no errors related to this, and the logging implemented for the application shows that doInitialization is called again when they press submit. We thought this to be related to the session of the user beeing lost for some reason, but the logs show that the session-id is the same both times doInitialization is called. So to me it seems like the portal is "loosing" it's reference to the instance of the component that it initialized the first time the user opened the form.

Can anyone explain the lifetime of the instances of components or point me to documentation that explains it? Any idea as of why it happens? It seems to be related to the users using some time filling out the form, like 17->22mins. But this is not close to the timeouts set on the application, which is one hour.

We have not yet successfully been able to recreate the problem neither in production or in QA.

Appreciate input on this.

Cheers

Tom