- Posts: 2
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can't edit question after import - 500 error
- dangc
- Topic Author
- Offline
- New Member
Less
More
3 years 1 month ago #212665
by dangc
Can't edit question after import - 500 error was created by dangc
Hello there!
I think this might be a bug, if I'm not missing something trivial I can file a bug.
I updated Limesurvey to version 4.4.10+210222 (from version 4.1.? - I think this should not be relevant). After the upgrade I imported a survey I use a lot that I have saved in .lss format. Import is ok but I cannot edit any question. When I open the edit question page (index.php/questionAdministration/view?surveyid=839658&gid=634&qid=3105&1614289115575) I get the following 500 Internal server error:
My survey was pretty small so I just recreated it, but I think this may be a significant issue for longer surveys.
I attach my survey so you can test it yourself.
Best regards and thank you for your great job!
dan
I think this might be a bug, if I'm not missing something trivial I can file a bug.
I updated Limesurvey to version 4.4.10+210222 (from version 4.1.? - I think this should not be relevant). After the upgrade I imported a survey I use a lot that I have saved in .lss format. Import is ok but I cannot edit any question. When I open the edit question page (index.php/questionAdministration/view?surveyid=839658&gid=634&qid=3105&1614289115575) I get the following 500 Internal server error:
I think this is not really a template error but something that may have changed during version and is not being fixed during import.An exception has been thrown during the rendering of a template ("Question and its behaviors do not have a method or closure named "relevance".").
My survey was pretty small so I just recreated it, but I think this may be a significant issue for longer surveys.
I attach my survey so you can test it yourself.
Best regards and thank you for your great job!
dan
Attachments:
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
3 years 1 month ago #212670
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Can't edit question after import - 500 error
The LS4 release seems to be buggy.
When I import your survey, I sometimes trigger an error when clicking the edit question button first.
Next click I sometimes get a 500 in the browservconsole and nothing happend.
When I import your survey, I sometimes trigger an error when clicking the edit question button first.
When I change to different question and back, I can get the edit question screen. And I can change and save things in that question.Uncaught TypeError: LS.questionEditor is undefined
onclick https://SNIP/index.php/questionAdministration/view?surveyid=839658&gid=77&qid=727:
Next click I sometimes get a 500 in the browservconsole and nothing happend.
LS4 is still very buggy and unusable for conducting surveys in a predictable manner.GET https://SNIP/index.php/questionAdministration/view?surveyid=839658&gid=75&qid=725&1614441733047=
Status500
Internal Server Error
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
3 years 1 month ago #212678
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't edit question after import - 500 error
Best solution seems to report the issue,
I try to fix integrity after import : same issue …
A quick fix : add
at this line
github.com/LimeSurvey/LimeSurvey/blob/ae...els/Question.php#L88
I try to fix integrity after import : same issue …
A quick fix : add
Code:
/** Set defaut relevance **/ public $relevance ="";
at this line
github.com/LimeSurvey/LimeSurvey/blob/ae...els/Question.php#L88
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Attachments:
The topic has been locked.
- dangc
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
3 years 1 month ago #212693
by dangc
Replied by dangc on topic Can't edit question after import - 500 error
Issue reported:
bugs.limesurvey.org/view.php?id=17144
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
3 years 1 month ago #212697
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can't edit question after import - 500 error
I don't mean it's the fix to do, i give you a trick to allow edit your survey
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: dangc
The topic has been locked.