Skip to content

Unable to perform a full page reload on edit post page in React Client. #1199

@delesseps

Description

@delesseps

Describe the bug
Unable to perform a full page reload on edit post page in React Client.

To Reproduce
Steps to reproduce the behavior:

  1. Start via yarn watch to launch default React client.
  2. Go to /posts
  3. Click on a post. e.g. Post title 20
  4. Should take you to /post/20
  5. Reload the page
  6. Page is blank. No console errors. (note: a full reload on /post/new does work)
  7. Does show a server error in the page source: <script charset="UTF-8">window.__SERVER_ERROR__={"stack":"TypeError: Cannot read property 'id' of undefined\n at PostCommentForm (...;</script>

Expected behavior
Page should load as it does when navigating from the Posts page.

Screenshots
image

Desktop (please complete the following information):

  • OS: OSX
  • Browser: Chrome
  • Version: 83.0.4103.116

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions