welcomeModal is not displayed - possible bug

More
5 days 22 hours ago #172269 by roehle
roehle created the topic: welcomeModal is not displayed - possible bug
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.
Is this a bug or are we missing something? It does not make sense to use the number of all available surveys here, right?

Stefan

Please Log in or Create an account to join the conversation.

More
5 days 21 hours ago #172276 by tpartner
tpartner replied the topic: welcomeModal is not displayed - possible bug
Please file a bug report.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!