Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
Script render error in DataTable Component
Forum Index -> DataTable
Author Message
ikrahne


Joined: 03/06/2008 08:36:25
Messages: 20
Offline

Hi,

this is a follow up from my previous post from 3/26/08. I have debuged the problem. The DataTable "Script" component encodes the wrong "jsessionId", if the sessionid is urlEncoded. This problem does not occur, if the jsessionId is stored in a cookie! Access to resources are beeing controlled by a security framework. This meens scripts are only accessable, if the correct sessionId is beeing supplied.

The "FrameworkGroup"-Script which is beeing inserted before a DataTable seems to be statically initilized. Therefore the "src" attribute of "ecruiser.script.Script" never changes leaving the encoded jsessionid eventually in a stale state.

After the jsessionId gets invalidated by the container, the DataTable FrameworkScript cannot be retrieved from the client (Browser) any more, leaving the DataTable unusable.

As a workaround, you can evaluate the src-Attribute on every request, as in the supplied patch file. This will probably impact performance though.

Question: Can this be fixed? Thanks in advance.

Stactrace:


 Filename patch.txt [Disk] Download
 Description
 Filesize 742 bytes
 Downloaded:  256 time(s)

adina_mihai
Simplica Team

Joined: 04/01/2007 00:00:00
Messages: 183
Offline

Hi!

Can you upload a simple example, which can demonstrate the problem so we can help you easier? Are you using the last ecruiser.jar from the site? I'm sorry but I didn't understand exactly if you have fixed the problem or not in your application...
ikrahne


Joined: 03/06/2008 08:36:25
Messages: 20
Offline

adina_mihai wrote:
Hi!
I'm sorry but I didn't understand exactly if you have fixed the problem or not in your application... 


Hi,

I initially fixed the problem in the ecruiser source ( Version 1.1.8 ).

The problem seems to be fixed in Ecruiser Version 1.1.9. I do not have any problems so far.
 
Forum Index -> DataTable
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.