portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20246] - [FIX] AccessController can set null profile in particular case
Date Tue, 09 Sep 2003 09:11:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20246>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20246

[FIX] AccessController can set null profile in particular case





------- Additional Comments From apernoud@sopragroup.com  2003-09-09 09:11 -------
I changed my code to use store this way :
Profile newProfile = Profiler.createProfile(data, aProfile);
newProfile.store();
((JetspeedRunData)data).setProfile(newProfile);

didn't work either. When it comes in AccessController, newProfile is null, 
currentProfile isn't, so (!currentProfile.equals(newProfile)) returns true and 
changes my non null profile with a null one...

Mime
View raw message