Skip to content

Unable to delete pages  #219

@msrshahrukh100

Description

@msrshahrukh100

Describe the bug
On the demo website, when I am trying to delete the pages from the left panel, I am getting the following error

Unhandled rejection: Error: Unable to delete page Wiki: Widget anatomy: TypeError: Cannot read properties of undefined (reading 'locales')
    at PageService.eval (webpack://paperbits-demo/./node_modules/@paperbits/common/pages/pageService.ts?:147:43)
    at Generator.next (<anonymous>)
    at fulfilled (webpack://paperbits-demo/./node_modules/@paperbits/common/pages/pageService.ts?:5:58)
    at PageService.eval (webpack://paperbits-demo/./node_modules/@paperbits/common/pages/pageService.ts?:160:23)
    at Generator.next (<anonymous>)
    at fulfilled (webpack://paperbits-demo/./node_modules/@paperbits/common/pages/pageService.ts?:5:58)

To Reproduce
Steps to reproduce the behavior:

  1. Go to the demo website
  2. Click on the pages section
  3. Try to delete all the wiki pages

Expected behavior
The page is to be deleted and also removed from the pages list

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions