View Issue Details

IDProjectCategoryView StatusLast Update
13956Bug reports[All Projects] Otherpublic2018-08-13 10:57
Reporterroehle Assigned ToLouisGac  
Status assignedResolutionopen 
Product Version3.13.x 
Target VersionFixed in Version 
Summary13956: welcomeModal is not displayed

Hi there,

we noticed that the welcomeModal intended for first time users is not being displayed (\application\views\admin\super\welcome.php) in our upgraded installation (3.14.2+180807).
Diggin into it we came to the following:
If it is displayed depends on
if($countSurveyList==0 && Permission::model()->hasGlobalPermission('surveys','create')
If you check the definition of the variable $countSurveyList you find that in \application\controllers\admin\index.php
it is defined as
$aData['countSurveyList'] = Survey::model()->count();
(counting all surveys of the installation) whereas it used to be
$aData['countSurveyList'] = count(getSurveyList(true));
(all surveys owned by currently logged in user) which still works if it is changed back to that.

Steps To Reproduce

Log in for the first time or without having created any surveys

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.14.2+180807
I will donate to the project if issue is resolvedNo
Database & DB-VersionMySQL 5.5.60
Server OS (if known)Linux (SLES)
Webserver software & version (if known)Apache 2.2
PHP Version5.6.37




2018-08-13 10:57

manager   ~48777

nice catch

Issue History

Date Modified Username Field Change
2018-08-13 09:32 roehle New Issue
2018-08-13 10:57 LouisGac Note Added: 48777
2018-08-13 10:57 LouisGac Assigned To => LouisGac
2018-08-13 10:57 LouisGac Status new => assigned