View Issue Details

IDProjectCategoryView StatusLast Update
13956Bug reportsOtherpublic2021-03-10 22:00
Reporterroehle Assigned To 
PrioritynoneSeverityminor 
Status feedbackResolutionopen 
Product Version3.13.x 
Summary13956: welcomeModal is not displayed
DescriptionHi 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 ReproduceLog 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
Browserany
Database & DB-VersionMySQL 5.5.60
Server OS (if known)Linux (SLES)
Webserver software & version (if known)Apache 2.2
PHP Version5.6.37

Activities

LouisGac

LouisGac

2018-08-13 10:57

developer   ~48777

nice catch
ollehar

ollehar

2021-03-10 22:00

administrator   ~63168

Please update to the latest version and check if the bug can still be reproduced. Thank you.

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
2021-03-10 22:00 ollehar Assigned To LouisGac =>
2021-03-10 22:00 ollehar Status assigned => feedback
2021-03-10 22:00 ollehar Note Added: 63168