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

Opening a link to a deleted section or page crashes application #850

Open
heofs opened this issue Jan 8, 2020 · 2 comments
Open

Opening a link to a deleted section or page crashes application #850

heofs opened this issue Jan 8, 2020 · 2 comments
Assignees

Comments

@heofs
Copy link
Contributor

heofs commented Jan 8, 2020

Expected behaviour

Opening a URL pointing to a deleted section design page or a deleted question design page, should automatically open the questionnaire on the first section.

Actual behaviour

Application crashes and displays white page.

Steps to reproduce the behaviour

  1. Create a new questionnaire and add a new question page.
  2. Copy the url of the new question page, for example https://preprod-author.eq.ons.digital/#/q/8eb74a88-413f-49bb-afba-2ddbfabe02d2/page/a5892f94-41f0-4f71-adf0-93ac23841368/design
  3. Delete the new question page.
  4. Open the URL to see that the page is blank and errors appear in the console.
@MattElcock MattElcock added the in progress This task is still being worked on label Jan 9, 2020
@MattElcock
Copy link
Contributor

A card's been made for this and @martyncolmer is working on it

@heofs
Copy link
Contributor Author

heofs commented Jan 16, 2020

#862

@zimboflyman zimboflyman removed the in progress This task is still being worked on label Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants