Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #7004: QA - view of question: click on variable -> bad request
dev: this seems to be an easy fix, not sure if there are side effects to this
- Loading branch information
53b4e1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that will have side effects.
1.92 works, so somehow it is getting the surveyid. Can it's approach be followed instead?
53b4e1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The startprocessinggroup is the only method that can set the sid so it needs to be called at least once.
I don't know if this particular thing worked in 1.92, don't have an install at the moment to check. Only when viewing qa from a question this
error occured on clicking a linked qid from the relevance.
What kind of side effect would you expect? It clears substitutionName/Info and could set syntax highlighting to true when false. If you think it can cause trouble in some place, please tell where so we can test if that is the case.
53b4e1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked at 1.92 code. Your fix should be fine.
53b4e1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the followup!