2 sam2kb Nov 30, 2012 16:45

Effectively, #81 doesn't exist. But I'm correctly logged as myself (#1, admin)
I tried to log under another identity (simple user) and post a message. Same behavior: exact same message, with id 81 inexistant but the post is saved and displayed correctly (with the good author name).
I search why 81, and it's the number of users currently in my database (but id number are ranging 1 to 163).
I did an upgrade from 4.1.6, with my whole database, but touch yet any settings about groups and users.
PS By the way, as I'm searching those information, I have a question about user administration. If I want to order users by number (or name), it get ordered, but only group by group. Is it possible to get everyone (whatever they are admin or bloggers) listed by name?
I search why 81, and it's the number of users currently in my database (but id number are ranging 1 to 163).
This looks like a bug
If I want to order users by number (or name), it get ordered, but only group by group. Is it possible to get everyone (whatever they are admin or bloggers) listed by name?
I don't think it's possible
Edit the following in /inc/items/model/_item.class.php starting in line 5180
Replace
// Send emails:
$cache_by_locale = array();
foreach( $notify_users as $user_ID )
{
$notify_User = $UserCache->get_by_ID( $user_ID );
$notify_email = $notify_User->get( 'email' );
With this
// Send emails:
$cache_by_locale = array();
foreach( $notify_users as $user_ID )
{
$notify_User = $UserCache->get_by_ID( $user_ID, false, false );
if( empty( $notify_User ) )
{ // skip invalid users
continue;
}
$notify_email = $notify_User->get( 'email' );
Fixed in SVN
Is the SVN repository readable to the public or do we need to wait for the next alpha for all these bug fixes? I have searched and all I can find is the plugins repository. The CVS repository hasn't been committed to in ages.
You can manually edit the file I mentioned above.
I don't think the SVN repository is public.
Actually, the CVS repository does have been updated for v5.
Francois, what's your policy on CVS? Would you update it with each release or is it gonna be updated more often?
Alex wrote:
Francois, what's your policy on CVS? Would you update it with each release or is it gonna be updated more often?
I'd be happy if we could get frequent updates in between releases.Since i am planning to run the alpha and update it on the go
CVS is updated at each release.
The next release will likely be in January.
Can you check if user with ID 81 exists?