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

404 error when deleting a category #8608

Closed
4 tasks done
Jademalo opened this issue Mar 2, 2024 · 1 comment
Closed
4 tasks done

404 error when deleting a category #8608

Jademalo opened this issue Mar 2, 2024 · 1 comment
Labels
fixed Bugs that are fixed (in a coming release).

Comments

@Jademalo
Copy link

Jademalo commented Mar 2, 2024

Support guidelines

I've found a bug and checked that ...

Description

A 404 error is thrown when deleting a category if you first click edit, then back, and then delete.

Debug information

Debug information generated at 2024-03-02 18:09:28 for Firefly III version v6.1.9.

System information
ItemValue
Firefly III6.1.9 / v2.0.12 / 22 (exp. 22)
PHP version8.3.2 / apache2handler / Linux
BCscale12
Error reportingDisplay: Off, reporting: ALL errors
Max upload67108864 (64 MB)
Database drivers*mysql*, pgsql, sqlite,
Docker build#957, base #79
Firefly III information
ItemValue
TimezoneEurope/London + Europe/London
App environmentlocal, debug: false
Layoutv1
Loggingnotice, stack / (empty)
Cache driverfile
Default language and localeen_GB + equal
Trusted proxies
Login provider & user guardeloquent / web
Login headersN/A + N/A
Stateful domains
Last cron jobnever (never)
Mailerlog
User-specific information
ItemValue
User#1 of 1
User flags💳
Session start2024-02-01 17:59:40
Session end2024-03-31 17:59:40
View range1M
User languageen_GB
User localeen_GB
Locale(s) supporteden_GB.utf8: ✅
en_GB.UTF-8: ✅
User agentMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0

Expected behaviour

You should be redirected back to /categories, but it mistakenly redirects you back to the edit page of that tag

Steps to reproduce

  1. Click edit next to a tag (to get to, for example /categories/edit/5)
  2. Click back in the browser
  3. Click the delete icon for that tag (to get to /categories/delete/5)
  4. Click delete permanently
  5. You will be redirected to /categories/edit/5 instead of /categories

Additional info

This seems to be consistent and reproducable, and doesn't happen if you refresh before clicking the delete icon.

@JC5
Copy link
Member

JC5 commented Mar 2, 2024

Thanks for letting me know. This should be fixed in the next release 👍

@JC5 JC5 added bug fixed Bugs that are fixed (in a coming release). labels Mar 2, 2024
@JC5 JC5 added this to Firefly III Mar 2, 2024
@JC5 JC5 moved this to Done in Firefly III Mar 2, 2024
@JC5 JC5 added this to the firefly-iii-v6.1.11 milestone Mar 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2024
@JC5 JC5 removed this from Firefly III Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed Bugs that are fixed (in a coming release).
Projects
None yet
Development

No branches or pull requests

2 participants