Closed violuke closed 1 year ago
Since there already is a solution of the problem (#221) I think the correct approach would be to go with that solution instead of reverting the change (which was on the correct direction). Peopl that are experiencing problems should not upgrade to 2.4 for now.
I'm going to recommend merging this, because I don't have the time to commit to a proper solution (and it's very likely that nobody else is using the feature other than me at this stage).
Any chance this can get merged in and cut a 2.4.1 release?
@schinckel @violuke
I can't merge PRs.
I'd also love this merged, but I also cannot merge PRs. @claudep, @felixxm and @hramezani can you help?
Sorry for the late response. I am not very familiar with the project TBH.
Agree that the fix is not a proper fix and cause some problem. Reverting the fixing might not be good because the other people who are using the feature might be hurt. I would suggest finding a better solution and meanwhile, you can pin the version to 2.3
Is there any important feature in 2.4 that this bug blocks you to upgrade and use it?
I would agree with @hramezani on this; releasing a new version without a proper fix would result to people that are using the new behavior having problems! In the previous version the bug was slipped under the rag and was introduced without anybody noticing.
Also, please notice that if you want to upgrade and have the old behavior you can simply override the get_form
method of you WizardView
to use self.form_list
like already proposed in this comment:
https://github.com/jazzband/django-formtools/issues/220#issuecomment-1325485752
I know this is not ideal however it should allow you to upgrade until #220 is actually fixed.
Thanks for the patch, however hopefully 604a8ec5488c90c should fix the regression.
Please see #220, this is causing a lot of problems as a breaking change was accidentally introduced in 2.4.
It might be that there is a "better" fix in #221 or via another solution, but I think the priority should be to release 2.4.1 with this PR in and the original functionality fixed.
This would buy time to find a better solution that allows for the request of #168 to be implemented without causing the problems that the original change caused.
Thank you for this fantastic package.