View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
13956Bug reportsOtherpublic2021-12-29 14:10
Reporterroehle Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.13.x 
Summary13956: welcomeModal is not displayed
Description

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.
Bug heat8
Complete LimeSurvey version number (& build)3.14.2+180807
I will donate to the project if issue is resolvedNo
Browserany
Database type & versionMySQL 5.5.60
Server OS (if known)Linux (SLES)
Webserver software & version (if known)Apache 2.2
PHP Version5.6.37

Users monitoring this issue

mkwasnic

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.

galads

galads

2021-09-07 08:53

reporter   ~66364

Hello roehle,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

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
2021-09-07 08:53 galads Assigned To => galads
2021-09-07 08:53 galads Status feedback => closed
2021-09-07 08:53 galads Resolution open => fixed
2021-09-07 08:53 galads Note Added: 66364
2021-09-07 08:53 galads Bug heat 4 => 6
2021-12-29 14:10 mkwasnic Issue Monitored: mkwasnic
2021-12-29 14:10 mkwasnic Bug heat 6 => 8