Jonathan Addison wrote:
Hi Richard,
Richard Frovarp wrote:
Richard Frovarp wrote:
I'm having an issue with 1.4, in that the login will not stick when
using FCKeditor. I start up Lenya, it runs and everything is good. I
go to edit a page with FCKeditor, I change the content. I hit save
and I am given a login prompt. After several login/save attempts, it
will usually take. From looking at the logs, I can see that the
machine is recognized, but no user name is associated with it. My
JSESSIONID cookie does not change from initial login, to failed save
login, to successful save.
When I am presented with the login, I see this in the logs:
PARAM: 'org.apache.lenya.ac.Identity' VALUE: '[identity:
[EMAIL PROTECTED] 134.129.71.65]'
When it works I see:
PARAM: 'org.apache.lenya.ac.Identity' VALUE: '[identity: lenya
[EMAIL PROTECTED] reviewer 134.129.71.65 admin editor
visitor]'
Anyone else seeing anything like this? Any idea where to begin
looking for the problem?
Richard
I've done some more testing. The session comes back with no roles
assigned. However, it would not appear that the roles are being
removed. The roles are just disappearing.
I am getting this on the login page when I try to save:
Access Denied
The user 'ref' is not authorized to access the page
'/elegantdemo/authoring/index.html'.
If you have another user account with the corresponding privileges,
please provide user name and password below.
But that user has all roles, and it authorized me to edit the page.
Debugging statements show that no roles are associated with the user,
where the call to get in there showed the user had all roles.
Furthermore, I am having some weird issues with errors about a file
being checked out. Sure, the file it is complaining about being
checked out is, but it isn't the file I am working on. If I get the
error when saving, the content is saved to the right location, it
would appear. There is something funky happening with the sessions
that needs to be cleared up. How could my session be getting dropped?
This is obviously a huge issue that needs to be fixed. I am guessing
it will be difficult to reproduce. It would be nice to figure out
what part of the code has the potential of screwing up my sessions,
so I can do some more logical investigations.
Do you get similar errors when using other editors? I'm receiving 500
errors when using BXE, Kupu, and oneForm so I was wondering if it
could be related.
I don't have the other editors enabled on my publication by default. I
some how broke Kupu, but no issue with BXE in testing this morning. But
I have yet to have an issue with FCK this morning either. It doesn't
constantly fire, making it more difficult to track down. I've ran
FindBugs against the AC code. Did find one possibly bad thing (line 61
of org.apache.lenya.ac.impl.AbstractItem), but that doesn't seem to be
the issue. I would actually know more if I could get the issue to fire
again, however. Users are very unhappy to edit a page, go to save and
have it fail. One difference I did notice between Kupu (against default
pub) and BXE versus FCK and oneForm, the first two generate a lot of
permission checks, where as the last two only do one upon loading the
editor.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]