I have two users at tw.o: xavi and xavidp. Both with lower case.
I can log in on doc.tw.o using either Xavi or xavi. When I log in with user Xavi, when I click on watching adding a page, or watching another page, I get this type of error:
An error occured in a database query! Context: File tiki-editpage.php Url tiki-editpage.php Query: insert into `tiki_user_watches`(`user`,`event`,`object`,`email`,`type`,`title`,`url`) values(?,?,?,?,?,?,?) Values: 0 Xavi 1 wiki_page_changed 2 Tikiwiki 1.10 ca 3 NULL 4 wiki page 5 Tikiwiki 1.10 ca 6 tiki-index.php?page=Tikiwiki 1.10 ca Message: Column 'email' cannot be null Built query was probably: insert into `tiki_user_watches`(`user`,`event`,`object`,`email`,`type`,`title`,`url`) values('Xavi','wiki_page_changed','Tikiwiki 1.10 ca',NULL,'wiki page','Tikiwiki 1.10 ca','tiki-index.php?page=Tikiwiki 1.10 ca')
Are you sure an email is associated with each account ? I was not able to reproduce the problem with upper/lower case login.
But, the problem occurs when one tries to add a watch on an object without an email adress associated with his account. This is, of course a bug and has to be fixed.
There a two ways to fix this:
Finally, I solved it with an error message added in function add_user_watch (tikilib.php).
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |