View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11075Bug reportsInstallationpublic2016-04-30 16:13
Reportersegui Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11075: Admin survey list not displaying nor paginating properly after update to 160425
Description

When updating Limesurvey 2.50+ from build 100421 to 160425, the admin survey list is not displayed correctly for non-superadmin users. The pagination shows the correct total number of surveys, but the page doesn't show the correct amount of surveys per page. When setting the pagination to show batches bigger than the total amount of surveys, the list doesn't show all the surveys for the user.

Steps To Reproduce
  • Update Limesurvey 2.50+ from build 100421 to 160425
  • Log in as a non-superadmin user
  • Go to the list of surveys
Additional Information

No errors are logged on the server. The browser console doesn't show any error neither.
Since users can't see all their surveys, this is a critical issue.
Changelogs for builds 160426 and 160426 don't mention a fix for this, so I assume an update to the most recent build doesn't solve the problem.

TagsNo tags attached.
Attached Files
bugged_list.png (119,217 bytes)
160421_10xpage.png (131,866 bytes)
160425_10xpage.png (66,788 bytes)   
160425_10xpage.png (66,788 bytes)   
160425_100xpage.png (129,728 bytes)
Bug heat4
Complete LimeSurvey version number (& build)160425
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome Version 49.0.2623.110 (64-bit), Firefox 45.0
Database type & versionMySQL 14.14 Distrib 5.5.49, for Linux (x86_64)
Server OS (if known)CentOS 6.7
Webserver software & version (if known)Apache/2.2.15 (Unix)
PHP VersionPHP 5.6.21

Users monitoring this issue

There are no users monitoring this issue.

Activities

segui

segui

2016-04-28 16:32

reporter   ~37976

Last edited: 2016-04-28 16:33

Sorry, I meant to say:

  • "from build 160421 to 160425", and
  • "Changelogs for builds 160426 and 160428"...
c_schmitz

c_schmitz

2016-04-29 14:14

administrator   ~38025

I cannot reproduce this, sorry. What kind of permission are assigned for these users? Do they own the survey or have they been given access to the particular survey?

segui

segui

2016-04-29 16:31

reporter   ~38029

In the specific case of the screenshot I attached to the report, user "afein" owns a total of 22 surveys. He also belongs to a user group, and Limesurvey is set with "Group member can only see own group" to Yes, so I guess he also can see the surveys owned by his group's members (that's how it behaves in 160421). Even if that last part is not true, he can't not even see his 22 surveys in 160425, and the paginator in the list says there are 45 results (same total as in 160421).

I am attaching 1 pic of build 160421 with 10 surveys per page, and 2 pics of 160425 (10 and 100 surveys per page)

c_schmitz

c_schmitz

2016-04-29 16:34

administrator   ~38030

Ok, that will be fixed in the next build.

c_schmitz

c_schmitz

2016-04-29 16:34

administrator   ~38031

See fix here: https://github.com/LimeSurvey/LimeSurvey/commit/2a48a90a715183bb95c4758bfff296cf394d44ea

segui

segui

2016-04-29 17:23

reporter   ~38032

Were you able to reproduce the problem? The fix doesn't seem to work on my side. The pagination seems to still be messed up, and the user doesn't see all his surveys. Is there any other information I should provide to help investigating?

c_schmitz

c_schmitz

2016-04-30 16:13

administrator   ~38035

Version 2.50+ Build 160430 released

Related Changesets

LimeSurvey: master 2a48a90a

2016-04-29 12:14:44

c_schmitz

Details Diff
Fixed issue: Admin survey list not displaying owned surveys Affected Issues
11075
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2016-04-28 16:25 segui New Issue
2016-04-28 16:25 segui File Added: bugged_list.png
2016-04-28 16:32 segui Note Added: 37976
2016-04-28 16:33 segui Note Edited: 37976
2016-04-29 12:55 c_schmitz Assigned To => c_schmitz
2016-04-29 12:55 c_schmitz Status new => assigned
2016-04-29 14:14 c_schmitz Note Added: 38025
2016-04-29 16:26 c_schmitz Status assigned => feedback
2016-04-29 16:31 segui Note Added: 38029
2016-04-29 16:31 segui Status feedback => assigned
2016-04-29 16:31 segui File Added: 160421_10xpage.png
2016-04-29 16:31 segui File Added: 160425_10xpage.png
2016-04-29 16:32 segui File Added: 160425_100xpage.png
2016-04-29 16:33 c_schmitz Changeset attached => LimeSurvey master 2a48a90a
2016-04-29 16:34 c_schmitz Note Added: 38030
2016-04-29 16:34 c_schmitz Status assigned => resolved
2016-04-29 16:34 c_schmitz Fixed in Version => 2.5
2016-04-29 16:34 c_schmitz Resolution open => fixed
2016-04-29 16:34 c_schmitz Note Added: 38031
2016-04-29 17:23 segui Note Added: 38032
2016-04-30 16:13 c_schmitz Note Added: 38035
2016-04-30 16:13 c_schmitz Status resolved => closed