Skip to content

can't access property "status", e.response is undefined #59

@greenship24

Description

@greenship24

Problem

  • can't access property "status", e.response is undefined when trying to mark a book as read, update reading progress, etc.

Sequence

  • Register user with email and longish password (30 char)
  • login
  • search a book and click onto it
  • Try to toggle the dropdown for "Currently Reading" and then mark progress (either pages or percentage, same issue)

Details

  • Firefox or Vivaldi (vivaldi error as toast popup is "Cannot read properties of undefined (reading 'status')
  • Does the same thing on multiple books ("Emma" by Jane Austen, "The Battle for Spain", etc.)
  • No relevant logs on either web or API containers (web just says normal 200 and 304 statuses
  • Being served via simple ingress-nginx proxy on k8s and BL_API_ENDPOINT appropriately set
  • sqlite DB per normal docker-compose (small, no need for postgres)
  • noticed I got "NaN" error for the current progress when trying this sometimes too (ie. the current page read number before I've even added my updated value)
  • No issue on DB migrations, etc.

I've wiped the DB once or twice (this is a testing instance) and same issue. Nothing that I can see on my end (disabled adblocker, any JS addons, etc.)

More than willing to test and wipe the DB again, etc. If you have a flag I can set for debug logs on whichever container you suspect I can add that as well. It seems like an issue with the python side and maybe a route/model isn't properly set but that's a hunch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions