View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
11338Bug reportsInstallationpublic2016-06-13 12:26
Reporterlhosaka Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11338: List of surveys pagination problem for a limited user
Description

limesurvey does not show all the questionnaires.

Additional Information

I'm sorry for my english.

We are using the same number of questionnaires for testing.

In version 2.50 build 160525 this feature was working perfectly.
After the updates to build 160529, 160602 and 160603 again does not work, with only a questionnaire although more questionnaires had to be presented.

TagsNo tags attached.
Attached Files
screen_build_160606.png (46,779 bytes)   
screen_build_160606.png (46,779 bytes)   
viewread.jpg (39,772 bytes)   
viewread.jpg (39,772 bytes)   
screen_lhosaka_permission.png (55,338 bytes)   
screen_lhosaka_permission.png (55,338 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)160603
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionPostgreSQL(libpq) Version 8.4.20
Server OS (if known)Red Hat Enterprise Linux Server release 6.6
Webserver software & version (if known)Apache/2.2.15 (Red Hat)
PHP Version5.3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2016-06-07 11:17

administrator   ~39271

Yes, we accidentally reverted the fix.
It should be alright in 160606 - please test and let us know.

lhosaka

lhosaka

2016-06-07 13:59

reporter   ~39279

We update to build 160606, but did not solve the problem. shows only a questionnaire, as shown in the screen below: (screen_build_160606.png)

We did the following test:
Copy the file Survey.php build 160,525 for the current build. It worked perfectly, as shown in the screen (screen_with_survey.php_build_160525.png)

We were able to explain what happened? ? ?

LouisGac

LouisGac

2016-06-07 15:41

developer   ~39282

Here my guess : it wasn't working in 160525 (user was seeing too many surveys), and now it's working as it should (user see only one survey).

To be able to see a survey, user must :

  • OR: be Super Admin
  • OR: be the owner of the survey
  • OR: have the right to read the survey (from survey -> survey permission)

I'm going to test all cases.

LouisGac

LouisGac

2016-06-07 15:45

developer   ~39283

Ok, I can confirm it's working fine here.

lhosaka : if you're still experiencing issues, feel free to reopen the bug. But please, first check that the the user who doesn't see a certain survey has the correct rights to see it.

lhosaka

lhosaka

2016-06-07 16:31

reporter   ~39292

Dear LouisGac

Please note the screens sent to the BugTracker, all belong to the same owner (lhosaka)
In the build 160,525 shows the 3 questionnaires and 160606 shows only one.
The permissions are the same for this user from the build 160,525.

thanks for reading

LouisGac

LouisGac

2016-06-07 16:34

developer   ~39293

Ihosaka : thank you for reporting bugs, it's very precious for us.
can you please check that the the user who doesn't see a certain survey has the correct rights to see it?

build 160525 wasn't respecting permissions.

lhosaka

lhosaka

2016-06-07 17:47

reporter   ~39303

Yes, he has the necessary permissions.

In the item:
Permission to create questionnaires (the author automatically has all permissions as the own questionnaires) and view, update and delete other users' questionnaire

lhosaka the user has permissions to: create and export

LouisGac

LouisGac

2016-06-07 17:59

developer   ~39304

ok, so I just did a new test, and when I give to a specific user the right to see others surveys the this user see all the surveys.

But he must have the read/view permission (see attached image)
Could you please take a screen shot of your user global permissions?

lhosaka

lhosaka

2016-06-07 18:46

reporter   ~39305

In a previous post, I informed the test done for us.
I copied the file Survey.php build 160,525 to build 160606.
The result is expected. It presents three questionnaires.

I am sending a print of lhosaka User configuration.

LouisGac

LouisGac

2016-06-08 09:57

developer   ~39313

well, in the screenshot you just attached I see no permission for that user to read other users's surveys.

So that's normal that he can't see them. Again, 160525 wasn't respecting the permissions.

lhosaka

lhosaka

2016-06-08 14:01

reporter   ~39326

It is set to see only their questionnaires. You should not see questionnaires of other users.

But this is the problem.

He is not seeing the own questionnaires.

It has 3 questionnaires, but can only see one, though inform 1-3 questionnaires.

LouisGac

LouisGac

2016-06-09 12:50

developer   ~39346

ok, thank you for your patience.
I'm going to give some new tests right now.

LouisGac

LouisGac

2016-06-09 12:58

developer   ~39349

ok confirmed

LouisGac

LouisGac

2016-06-09 14:36

developer   ~39360

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19382

LouisGac

LouisGac

2016-06-09 14:37

developer   ~39361

This time should be ok.
sorry for the misunderstanding, and thank you for reporting.

lhosaka

lhosaka

2016-06-09 15:20

reporter   ~39363

OK,

Now limesurvey is presenting the list of questionnaires correctly.

Sorry if I could not explain the problem properly.
My English is really bad.

Thank you for your patience and for the resolution of the problem.

LouisGac

LouisGac

2016-06-09 15:46

developer   ~39366

;-)

c_schmitz

c_schmitz

2016-06-13 12:26

administrator   ~39479

Version 2.50 Build 160613 released

Related Changesets

LimeSurvey: master 7d3a5246

2016-06-09 12:36:27

LouisGac

Details Diff
Fixed issue 11338: List of surveys pagination problem for a limited user Affected Issues
11338
mod - application/models/Survey.php Diff File

Issue History

Date Modified Username Field Change
2016-06-03 15:36 lhosaka New Issue
2016-06-07 11:17 c_schmitz Note Added: 39271
2016-06-07 11:17 c_schmitz Assigned To => c_schmitz
2016-06-07 11:17 c_schmitz Status new => feedback
2016-06-07 13:58 lhosaka File Added: screen_with_survey.php_build_160525.png
2016-06-07 13:59 lhosaka File Added: screen_build_160606.png
2016-06-07 13:59 lhosaka Note Added: 39279
2016-06-07 13:59 lhosaka Status feedback => assigned
2016-06-07 15:40 LouisGac Sticky Issue No => Yes
2016-06-07 15:41 LouisGac Note Added: 39282
2016-06-07 15:45 LouisGac Note Added: 39283
2016-06-07 15:45 LouisGac Status assigned => resolved
2016-06-07 15:45 LouisGac Resolution open => fixed
2016-06-07 15:46 LouisGac Sticky Issue Yes => No
2016-06-07 16:31 lhosaka Note Added: 39292
2016-06-07 16:34 LouisGac Note Added: 39293
2016-06-07 17:47 lhosaka Note Added: 39303
2016-06-07 17:59 LouisGac File Added: viewread.jpg
2016-06-07 17:59 LouisGac Note Added: 39304
2016-06-07 18:46 lhosaka File Added: screen_lhosaka_permission.png
2016-06-07 18:46 lhosaka Note Added: 39305
2016-06-08 09:57 LouisGac Note Added: 39313
2016-06-08 09:58 c_schmitz Status resolved => closed
2016-06-08 14:01 lhosaka Note Added: 39326
2016-06-08 14:01 lhosaka Status closed => feedback
2016-06-08 14:01 lhosaka Resolution fixed => reopened
2016-06-09 12:50 LouisGac Note Added: 39346
2016-06-09 12:58 LouisGac Note Added: 39349
2016-06-09 14:36 LouisGac Changeset attached => LimeSurvey master 7d3a5246
2016-06-09 14:36 LouisGac Note Added: 39360
2016-06-09 14:36 LouisGac Assigned To c_schmitz => LouisGac
2016-06-09 14:37 LouisGac Note Added: 39361
2016-06-09 15:20 lhosaka Note Added: 39363
2016-06-09 15:20 lhosaka Status feedback => assigned
2016-06-09 15:46 LouisGac Note Added: 39366
2016-06-10 10:24 LouisGac Status assigned => resolved
2016-06-10 10:24 LouisGac Resolution reopened => fixed
2016-06-10 15:42 Jelle_S Changeset attached => LimeSurvey master 3065832d
2016-06-10 15:42 Jelle_S Assigned To LouisGac => Jelle_S
2016-06-10 15:49 c_schmitz Changeset removed LimeSurvey master 3065832d =>
2016-06-12 10:16 c_schmitz Status resolved => assigned
2016-06-12 10:16 c_schmitz Assigned To Jelle_S => LouisGac
2016-06-12 10:16 c_schmitz Status assigned => resolved
2016-06-12 10:16 c_schmitz Fixed in Version => 2.5
2016-06-13 12:26 c_schmitz Note Added: 39479
2016-06-13 12:26 c_schmitz Status resolved => closed