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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create product from Inventory screen, or change language, takes you to a 404 page #409

Open
igorsantos07 opened this issue Nov 15, 2023 · 10 comments

Comments

@igorsantos07
Copy link

Problem/Motivation

When you create a product from the Inventory screen, it continues into a 404 page.
Also, if you go to User Settings (at the 馃敡 on the corner) and change the language, you're also redirected to a 404.

I think this happens somewhere else as well, but I can't remember right now the other screen.

Expected behavior

I tested this in the live Grocy demo and it takes you back to the Inventory page, as expected. I'm not sure if the problem is because in HA it runs on a subpath.

Actual behavior

It looks like a root path problem; the redirect in my instance goes to http://hass.local:8123/api/hassio_ingress/tBExf64mMbmSzXstfKLypj9J46CeBeoT1HMJZ-DIgX4//api/hassio_ingress/tBExf64mMbmSzXstfKLypj9J46CeBeoT1HMJZ-DIgX4/inventory?flow=InplaceNewProductWithName&&product-name=teste%202 (note the repeated /api/hassio_ingress)

Steps to reproduce

  1. go to Inventory
  2. write a non-existing product on the first field
  3. press enter
  4. a popup shows up; select "add as new product"
  5. fill in any required fields on the "new product" screen
  6. press "save & continue"
  7. get sent to a 404 page

Proposed changes

I wonder if it's a problem of redirecting to a relative path (and thus, should be fixed in core Grocy), or related to the patches made in the add-on (as pointed by the veeery kind maintainer at grocy/grocy#2379)

@igorsantos07

This comment was marked as abuse.

@igorsantos07

This comment was marked as abuse.

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 馃憤
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jan 15, 2024
@igorsantos07

This comment was marked as abuse.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jan 20, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 馃憤
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Feb 19, 2024
@igorsantos07

This comment was marked as abuse.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Feb 21, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 馃憤
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Mar 23, 2024
@igorsantos07

This comment was marked as abuse.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Mar 26, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 馃憤
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Apr 25, 2024
@igorsantos07

This comment was marked as abuse.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Apr 27, 2024
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

1 participant