View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06193Bug reportsAccessibilitypublic2012-06-15 08:50
Reporteruser20336Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00RC2 
Fixed in Version2.00RC3 
Summary06193: AdminController cannot find the requested view "/admin/user/setUserRights"
Description

after creating a new user and try to change his permissions, getting error

AdminController cannot find the requested view "/admin/user/setUserRights"

after debugging the code, i think i found the reason: in framework/web/CController.php, line 712

if(is_file($viewFile.$extension))

is due to the php function is_file() IS Case Sensitivity in some system, but NOT in some other system.

and the name of view files of the limesurvey most are lower case, but the ViewName in the code is
upper case. so, in my server, the code couldn't find the correct view file of some ViewName. then
show such errors.

for example, this case, the viewName is "/admin/user/setUserRights", but the view file name is "application/views/admin/user/setuserrights.php".

hope it's help

Steps To Reproduce

credit/edit users --> set global permissions for this user --> AdminController cannot find the requested view "/admin/user/setUserRights".

Additional Information

related issue
http://bugs.limesurvey.org/view.php?id=5966

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)120528
I will donate to the project if issue is resolvedNo
Browsersafari / Firefox
Database type & versionmysql 5.1
Server OS (if known)Linux 2.6.32.8 (x64)
Webserver software & version (if known)Apache 2.2
PHP Version5.3.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2012-06-12 11:55

updater   ~19185

It works fine here on my Windows system so this might be OS related.

DenisChenu

DenisChenu

2012-06-12 12:13

developer   ~19187

Actually with 120612 seems to work fine, look for a clean install :)

Denis

Mazi

Mazi

2012-06-12 13:35

updater   ~19196

Denis, did you test Limesurvey 2 (latest version from GIT) with the same OS and webserver?

DenisChenu

DenisChenu

2012-06-12 14:36

developer   ~19202

Last edited: 2012-06-12 15:33

Already fixed :)

Just reopen for Answer.

Test with RC2 : KO, update to last version : OK

No change

DenisChenu

DenisChenu

2012-06-13 22:23

developer   ~19240

Oups ...

DenisChenu

DenisChenu

2012-06-13 22:52

developer   ~19242

http://git.io/6lo1yQ

DenisChenu

DenisChenu

2012-06-15 08:50

developer   ~19267

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

Related Changesets

LimeSurvey: Yii e739efc9

2012-06-13 13:46:00

DenisChenu

Details Diff
Fixed issue : No group managment in Yii
Fixed issue : Javascript error with alert in public survey
Fixed issue 06193 : AdminController cannot find the requested view "/admin/user/setUserRights"
Affected Issues
06193
mod - application/controllers/admin/useraction.php Diff File
mod - application/controllers/admin/usergroups.php Diff File
mod - application/core/Survey_Common_Action.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File
mod - application/views/admin/super/adminmenu.php Diff File
mod - application/views/admin/usergroup/usergroupbar_view.php Diff File
add - styles/blobblueish/images/usergroup.png Diff File
add - styles/gartergrey/images/usergroup.png Diff File
add - styles/gringegreen/images/usergroup.png Diff File

Issue History

Date Modified Username Field Change
2012-06-11 10:47 user20336 New Issue
2012-06-11 10:47 user20336 Issue Monitored: user20336
2012-06-12 11:54 Mazi Assigned To => magiclko
2012-06-12 11:54 Mazi Status new => assigned
2012-06-12 11:55 Mazi Note Added: 19185
2012-06-12 11:56 Mazi Assigned To magiclko => DenisChenu
2012-06-12 12:13 DenisChenu Note Added: 19187
2012-06-12 13:35 Mazi Note Added: 19196
2012-06-12 14:36 DenisChenu Note Added: 19202
2012-06-12 14:36 DenisChenu Status assigned => closed
2012-06-12 14:36 DenisChenu Resolution open => fixed
2012-06-12 14:36 DenisChenu Fixed in Version => 2.00RC3
2012-06-12 15:32 DenisChenu Status closed => feedback
2012-06-12 15:32 DenisChenu Resolution fixed => reopened
2012-06-12 15:33 DenisChenu Note Edited: 19202
2012-06-12 15:33 DenisChenu Status feedback => closed
2012-06-12 15:33 DenisChenu Resolution reopened => fixed
2012-06-13 22:23 DenisChenu Note Added: 19240
2012-06-13 22:23 DenisChenu Status closed => feedback
2012-06-13 22:23 DenisChenu Resolution fixed => reopened
2012-06-13 22:23 DenisChenu Status feedback => confirmed
2012-06-13 22:52 DenisChenu Note Added: 19242
2012-06-13 22:52 DenisChenu Status confirmed => closed
2012-06-13 22:52 DenisChenu Resolution reopened => fixed
2012-06-15 08:50 DenisChenu Changeset attached => LimeSurvey Yii e739efc9
2012-06-15 08:50 DenisChenu Note Added: 19267