Donate Share

Clipperz Community Edition

Tracker: Bugs

5 Clipperz.PM.DataModel.User.exception.LoginFailed - ID: 1938136
Last Update: Comment added ( gcsolaroli )

I just installed Clipperz on my server. When I attempt to register, I
receive the message "Clipperz.PM.DataModel.User.exception.LoginFailed" in
the "Registration Failed" message box.

Interestingly, a record gets added to the "users" table. So I tried to
login with the UID / PW I just added, but receive a "Login failed"
message.

I'm using Firefox 2.0.0.13, if that helps.

Greg


Nobody/Anonymous ( nobody ) - 2008-04-08 21:08

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 5 )




Date: 2008-04-13 14:19
Sender: gcsolaroliProject Admin


At the moment the PHP code is still missing some check to avoid data
corruption that could happen if a user changes her data from two concurrent
sessions.

There is already some work done to provide an optimistic-locking on the
data that would avoid any problem, but I was not able to implement the
update query leveraging this lock info.

Other that this, all the other missing features (with regard to the Java
backend) are relevant mostly to performance.


Date: 2008-04-13 14:08
Sender: philjohn


Just read that the online version is a Java app and the PHP is still new.

I'll have a look at coming up with a patch in the next week or so. It's
as simple as going

if(isset($array['key'])) //do something.

It doesn't really make me concerned though as ClipperZ has the whole
zero-knowledge thing going on, so even if there were a horrendous security
vulnerability on the server side (which on cursory examination doesn't seem
to be the case, in fact, the software engineering that has gone into this
is very impressive) all the data is still safe.


Date: 2008-04-13 13:40
Sender: gcsolaroliProject Admin


Phil,

I am _NOT_ a PHP coder by any standard. I have been able to pack the PHP
community.edition backend striping out anything but the very core feature.

The aim of the PHP backend is to allow anybody to run/test/improve the
Clipperz application on their own computer, but it is definitely not a
production grade software.

Any suggestion on how to improve the the code, better if provided as a
patch, is really welcome.


Date: 2008-04-13 13:22
Sender: philjohn


I've discovered that this happens when display_errors is set to "on" in
php.ini

Looking at firebug when the login happens I'm getting some undefined index
warnings. True, display_errors shouldn't be on in a production
environment, but it's a little sloppy not to do an isset() before
attempting to access an array member.


Date: 2008-04-08 22:42
Sender: gcsolaroliProject Admin


Does this happen with any username/password combination, or just with some
special values?

At what point of the registration does the procedure halt?
At what point does the next try to login using the just registered
credentials halt?


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.