View Issue Details

IDProjectCategoryView StatusLast Update
17135Bug reportsStatisticspublic2021-02-25 17:38
Reporterjcieszlak Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.4.7 
Summary17135: activating Public statistics option causes json to display
DescriptionWhen you click save after activating public statistics and show graphs in public statistics json is displayed instead of the editor page.
Steps To Reproduce1. create new survey
2. create 1 question group and 1 question (needed to activate survey)
3. click "Activate survey" from overview tab, click "Save & activate survey"
4. click "Statistics" settings tab on the left
5. click "Presentation" settings tab on the left
6. turn on "Public statistics" and "Show graphs in public statistics"
7. click "Save" on the top right
8. Error appears

{"success":true,"updated":["publicgraphs","navigationdelay","printanswers","publicstatistics","autoredirect","showxquestions","showgroupinfo","showqnumcode","shownoanswer","showwelcome","allowprev","questionindex","nokeyboard","showprogress"],"DEBUG":{"POST":{"YII_CSRF_TOKEN":"b1FhOWVqZWlHMEhtUk5uVmpUU1JUZVRYQnJCR2RGcTkpXf0Cr8vGB4NsIW6vmbbR1OTyQZ4EEv8iFB-nHTEw5Q==","navigationdelay":"-1","navigationdelaybutton":"N","questionindex":"-1","showgroupinfo":"I","showqnumcode":"I","shownoanswer":"I","showxquestions":"I","showwelcome":"I","allowprev":"I","nokeyboard":"I","showprogress":"I","printanswers":"I","publicstatistics":"N","publicgraphs":"Y","autoredirect":"I","action":"updatesurveylocalesettings","sid":"853442","surveyid":"853442","language":"en","responsejson":"1"},"reloaded":{"sid":853442,"owner_id":2,"gsid":1,"admin":"testadmin@zf.com","active":"Y","expires":"2021-02-25 16:11:45","startdate":null,"adminemail":"testemail@zf.com","anonymized":"N","faxto":"","format":"I","savetimings":"N","template":"inherit","language":"en","additional_languages":"","datestamp":"N","usecookie":"I","allowregister":"I","allowsave":"I","autonumber_start":1,"autoredirect":"I","allowprev":"I","printanswers":"I","ipaddr":"N","ipanonymize":"N","refurl":"N","datecreated":"2021-01-28 00:00:00","publicstatistics":"N","publicgraphs":"Y","listpublic":"I","htmlemail":"I","sendconfirmation":"I","tokenanswerspersistence":"I","assessments":"I","usecaptcha":"E","usetokens":"N","bounce_email":"testbounce@zf.com","attributedescriptions":null,"emailresponseto":"inherit","emailnotificationto":"inherit","tokenlength":-1,"showxquestions":"I","showgroupinfo":"I","shownoanswer":"I","showqnumcode":"I","bouncetime":null,"bounceprocessing":"N","bounceaccounttype":null,"bounceaccounthost":null,"bounceaccountpass":null,"bounceaccountencryption":null,"bounceaccountuser":null,"showwelcome":"I","showprogress":"I","questionindex":-1,"navigationdelay":-1,"nokeyboard":"I","alloweditaftercompletion":"I","googleanalyticsstyle":"","googleanalyticsapikey":"","tokenencryptionoptions":"{ \"enabled\":\"Y\",\"columns\":{ \"firstname\":\"N\",\"lastname\":\"N\",\"email\":\"N\" } }","showsurveypolicynotice":0},"aURLParams":"","initial":{"htmlemail":"I","format":"I","tokenencryptionoptions":"{ \"enabled\":\"Y\",\"columns\":{ \"firstname\":\"N\",\"lastname\":\"N\",\"email\":\"N\" } }","template":"inherit","language":"en","owner_id":2,"admin":"testadmin@zf.com","adminemail":"testemail@zf.com","sid":853442,"gsid":1,"active":"Y","expires":"2021-02-25 16:11:45","startdate":null,"anonymized":"N","faxto":"","savetimings":"N","additional_languages":"","datestamp":"N","usecookie":"I","allowregister":"I","allowsave":"I","autonumber_start":1,"autoredirect":"I","allowprev":"I","printanswers":"I","ipaddr":"N","ipanonymize":"N","refurl":"N","datecreated":"2021-01-28 00:00:00","publicstatistics":"Y","publicgraphs":"Y","listpublic":"I","sendconfirmation":"I","tokenanswerspersistence":"I","assessments":"I","usecaptcha":"E","usetokens":"N","bounce_email":"testbounce@zf.com","attributedescriptions":null,"emailresponseto":"inherit","emailnotificationto":"inherit","tokenlength":-1,"showxquestions":"I","showgroupinfo":"I","shownoanswer":"I","showqnumcode":"I","bouncetime":null,"bounceprocessing":"N","bounceaccounttype":null,"bounceaccounthost":null,"bounceaccountpass":null,"bounceaccountencryption":null,"bounceaccountuser":null,"showwelcome":"I","showprogress":"I","questionindex":-1,"navigationdelay":-1,"nokeyboard":"I","alloweditaftercompletion":"I","googleanalyticsstyle":"","googleanalyticsapikey":"","showsurveypolicynotice":0},"afterApply":{"htmlemail":"I","format":"I","tokenencryptionoptions":"{ \"enabled\":\"Y\",\"columns\":{ \"firstname\":\"N\",\"lastname\":\"N\",\"email\":\"N\" } }","template":"inherit","language":"en","owner_id":2,"admin":"testadmin@zf.com","adminemail":"testemail@zf.com","sid":853442,"gsid":1,"active":"Y","expires":"2021-02-25 16:11:45","startdate":null,"anonymized":"N","faxto":"","savetimings":"N","additional_languages":"","datestamp":"N","usecookie":"I","allowregister":"I","allowsave":"I","autonumber_start":1,"autoredirect":"I","allowprev":"I","printanswers":"I","ipaddr":"N","ipanonymize":"N","refurl":"N","datecreated":"2021-01-28 00:00:00","publicstatistics":"N","publicgraphs":"Y","listpublic":"I","sendconfirmation":"I","tokenanswerspersistence":"I","assessments":"I","usecaptcha":"E","usetokens":"N","bounce_email":"testbounce@zf.com","attributedescriptions":null,"emailresponseto":"inherit","emailnotificationto":"inherit","tokenlength":-1,"showxquestions":"I","showgroupinfo":"I","shownoanswer":"I","showqnumcode":"I","bouncetime":null,"bounceprocessing":"N","bounceaccounttype":null,"bounceaccounthost":null,"bounceaccountpass":null,"bounceaccountencryption":null,"bounceaccountuser":null,"showwelcome":"I","showprogress":"I","questionindex":-1,"navigationdelay":-1,"nokeyboard":"I","alloweditaftercompletion":"I","googleanalyticsstyle":"","googleanalyticsapikey":"","showsurveypolicynotice":"0"}}}
Additional Information1. from an activated survey, refresh your webpage (does not matter where)
2. click "Statistics" settings tab on the left
3. note the places where on/off switches are placed
4. click to a different menu/setting on the left
5. click "Statistics" settings tab on the left
6. note that these switches are replaced with checkboxes (until page is refreshed)
TagsNo tags attached.
Complete LimeSurvey version number (& build)4.4.7 build 210217
I will donate to the project if issue is resolvedNo
Browser
Database & DB-VersionPostgresql 9
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4.14

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-02-25 17:38 jcieszlak New Issue