Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix complete index bugs #227

Merged
merged 2 commits into from Nov 13, 2014
Merged

Conversation

Shnoulle
Copy link
Collaborator

  • Fixed issue #09328: Language changer causes warning for mandatory questions
  • Fixed issue #09285: Index complete + mandatory question :undefined notice
  • Fixed issue #09198: complete group's navigation don't go to desired group
  • Fixed issue #08806: questionindex to 2 allow invalid survey submitted

Don't find a way to broke survey with index. But maybe some other test to do ( reload with token, reload with saved ....).

Only JumpTo with force was impacted

@Shnoulle
Copy link
Collaborator Author

SurveyRunTime is really to redo ....

Have the fix for changelang too. Some control and update pull request tomorrow.

…stions

Fixed issue #09285: Index complet + mandatory question :undefined notice
Fixed issue #09198: complete group's navigation can stop before clicked group
Fixed issue #08806: questionindex to 2 allow invalid survey submitted
Dev: use $force in _validateGroup and _validateQuestion
Dev: this allow save value in DB for equation and some other, but never return error.
Dev: update EM, then need testing
@Shnoulle
Copy link
Collaborator Author

Shnoulle commented Nov 1, 2014

New complete fix

$moveResult = LimeExpressionManager::JumpTo($moveResult['seq'], false, false, false);// no preview, no save data and NO force
if(!$moveResult['mandViolation'] && !$moveResult['valid'] && !$moveResult['invalidSQs'])
$moveResult['finished'] = true;
}
if ($moveResult['finished'] == true)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dev: Adding $_SESSION[$LEM->sessid][$answer]=null in _validateQuestion , this ensure using $_SESSION[$LEM->sessid][$answer]
Dev: then remove the quick fix at qanda_helper only for $ia[1] (without sub question)
Dev: remove global $notanswered at each do_ function, get it by GetLastMoveResult
Shnoulle added a commit that referenced this pull request Nov 13, 2014
Dev: Fix complete index bugs and some other jumpTo bug
@Shnoulle Shnoulle merged commit 5ddf853 into LimeSurvey:master Nov 13, 2014
@Shnoulle Shnoulle deleted the master_indexfixes branch September 11, 2015 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant