Project

General

Profile

Bug #5277

table id=user_list_table - Ajax error

Added by Kirill Peskov over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12.04.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

RhodeCode Community Edition, version 4.7.0

Clean install on Debian 8 (Jessie)

No additional plugins activated, admin user created from command line during install. Click on "Admin" menu and select "Users" in the dropdown menu. Empty list appears (actually, should be at least one entry) and immediately — popup with the message about Ajax warning/error.

the error seems to appear regardless of database type activated, at least I've checked with sqlite and mysql.

Screen Shot 2017-04-12 at 22.10.53.png (104 KB) Screen Shot 2017-04-12 at 22.10.53.png Kirill Peskov, 12.04.2017 22:11
community.log (19.7 KB) community.log Kirill Peskov, 12.04.2017 22:24
community-sqlite.log (16.5 KB) community-sqlite.log Kirill Peskov, 12.04.2017 22:39
2687

History

#2 Updated by Marcin Kuzminski [staff] over 2 years ago

Hi,

Is there any error in rhodecode logs ?
Also anything in the Browser console ?

Best,

#3 Updated by Kirill Peskov over 2 years ago

Marcin Kuzminski [staff] wrote:

Hi,

Is there any error in rhodecode logs ?

Yeapp, part of the logfile is attached, have a look

Also anything in the Browser console ?

Server Error 500

#4 Updated by Marcin Kuzminski [staff] over 2 years ago

Hmm,

That's interesting it seems it's a Mysql Specific problem when using NULL LAST sorting. We'll investigate this. It's however odd that our test mysql didn't report this. We'll check the code and try to reproduce this.

I think there's a bugfix release for this released asap when we fix it.

#5 Updated by Marcin Kuzminski [staff] over 2 years ago

Btw, as a workaround, you can remove the .nullslast() from your installation source code to fix it temporarily.

The file: https://code.rhodecode.com/rhodecode-enterprise-ce/files/31d11ad7261e75f59600d26bb2bbb945cc905c96/rhodecode/apps/admin/views/users.py#L129

And it's located inside ~/.rccontrol/community-1/profile/..

#6 Updated by Kirill Peskov over 2 years ago

Marcin Kuzminski [staff] wrote:

Hmm,

That's interesting it seems it's a Mysql Specific problem when using NULL LAST sorting. We'll investigate this. It's however odd that our test mysql didn't report this. We'll check the code and try to reproduce this.

Then it's quite weird that sqlite installation behaves the same way...

community-sqlite.log is also attached

#7 Updated by Redmine Integration over 2 years ago

  • Status changed from New to Resolved

#8 Updated by Marcin Kuzminski [staff] over 2 years ago

Probably sqlite have similar problem. We manage to change this to different types of queries, also we had a bad test for this :(

We;ll release a 4.7.1 today with this and few other patches that we had. Thanks

#9 Updated by Marcin Kuzminski [staff] over 2 years ago

  • Target version set to v4.7

Also available in: Atom PDF