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
Bad request when creating a recurring transaction #7683
Comments
Nice find, I'll check it out! |
It works as expected, if you select a date in the future. A fix is in the works to make sure the date select respects this. |
I'm doing some tests right now. I just found that the error occurs when the date is invalid. In my case I want to input 2021-02-05 (with french format : dd/mm/YYYY. When I type the day I begin to type the character 0 for 05. At this moment the day equals to 00 which is obviously invalid. The same if I try to type 2021. I start by typing 2, and the years changes to 0002. I found that if I type 5 alone for the day, then I don't have any error. I think that when the date is invalid, it is useless to send the HTTP request to update the recurrence dropdown; or may be better : to disable it until the begin date has a valid value. |
With the fix above, the error does not occurs with an invalid year, but still occurs when I type 0 as 1st digit for the day. |
True, nice find. This should be fixed now. |
Hi The fix works. I wanted to use a recurrent transaction to fill past history of an account. I noticed in the fix that you allowed the user to input past dates (which is what I need). However, when I submit the form, an error pops, telling that only dates in the future are allowed. I'm not sure if you tried to allow past dates to satisfy my need or if it is needed to fix the issue I reported. |
You have to edit a new recurring transaction and then backdate it. Firefly III will not create past transactions though. |
Hi Ok, then it is useless to try to create old recurrent transactions this way. We can close this issue; thank you. |
Hi there! This is an automatic reply. This issue is now 🔒 closed. Please be aware that closed issues are not watched.
Thank you for your contributions. |
Support guidelines
I've found a bug and checked that ...
Description
Hi
I'm trying to create a recurring transaction. As soon I change the start date of the transaction, I get an alert about inability to load repetition suggestions. The error message is "Could not load repetition suggestions".
Indeed I see that the HTTP request which shall provide the repetition types has very likely a bad payload.
I reproduced on the demo server.
Here is a screenshot of the UI and the developer tools of the browser
Debug information
Debug information generated at 2023-06-24 19:19:51 Europe/Amsterdam for Firefly III version 6.0.16.
8.2.7
Linux
Expected behaviour
No error alert, and the recurrence types shall be avaiable in the related dropdown
Steps to reproduce
Additional info
No response
The text was updated successfully, but these errors were encountered: