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

response missing after going to a different page #33

Closed
xcompass opened this issue Oct 29, 2015 · 4 comments · Fixed by #153
Closed

response missing after going to a different page #33

xcompass opened this issue Oct 29, 2015 · 4 comments · Fixed by #153
Assignees
Milestone

Comments

@xcompass
Copy link
Member

if I go to the second problem, and then click back to the first problem, it looks like my answers have been deleted. If I hard-refresh the page, I get back to the answer state.

@richardtape
Copy link
Member

@xcompass Can you explain what you mean by the 'second problem' and 'first problem'? Are these on different units? And when you say 'click back' do you mean using the browser back button, or the lms back arrow?

@richardtape
Copy link
Member

To reproduce: LMS. Have two units. Have a component on each (one should be UBCPI, the other is unimportant). Submit an answer to the first part of the UBCPI flow (but not a revised answer) and then switch to the other unit using the edX control bar at the top, then switch back to the UBCPI component. Your submitted answer and rationale do not show. However, if you do a hard refresh, they are visible.

Expected behaviour: On returning to the UBCPI component, your submitted answer should show (just like it does if you do a hard refresh)

richardtape added a commit that referenced this issue Nov 17, 2015
…the back end. This is then used when the components are loaded. Fixed the issue where a user could switch tabs mid-flow and not see their stored data when the returned. Fixes #33
richardtape added a commit that referenced this issue Dec 8, 2015
…the back end. This is then used when the components are loaded. Fixed the issue where a user could switch tabs mid-flow and not see their stored data when the returned. Fixes #33
@lenglund lenglund reopened this Jun 17, 2016
@lenglund
Copy link
Collaborator

Issue still encountered during recent round of student usability testing. Use case: student is on second step and begins typing in revision form, accidentally navigates away using the edX control bar at the top, returns to find exercise has been reset to first step.

@lenglund lenglund added the bug label Jun 17, 2016
@xcompass xcompass added this to the 0.6 milestone Aug 24, 2016
@xcompass xcompass modified the milestones: 1.0, 0.6 Jun 13, 2017
@kitsook
Copy link
Contributor

kitsook commented Apr 16, 2018

Will revise and call assignData with the latest received persistedData

// Assign data based on what has been persisted
var persistedDataObject = get_data().then( function(persistedData) {
if ( persistedData.answer_original !== null ) {
assignData(self, data);
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants