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
Cannot submit form with multiple identical submits #264
Comments
ricecooker
pushed a commit
to sstm2/MechanicalSoup
that referenced
this issue
Feb 26, 2019
Closes MechanicalSoup#264. MechanicalSoup was incorrectly raising a LinkNotFoundError if a form had duplicate <input type='submit'/>. This patch works by checking the form parameters on submit. If there are duplicates to the selected submit button, they are ignored when building the dictionary of form values.
ricecooker
pushed a commit
to sstm2/MechanicalSoup
that referenced
this issue
Feb 26, 2019
Closes MechanicalSoup#264. MechanicalSoup was incorrectly raising a LinkNotFoundError if a form had duplicate <input type='submit'/>. This patch works by checking the form parameters on submit. If there are duplicates to the selected submit button, they are ignored when building the dictionary of form values.
Thanks for fixing this. The last release was from a year ago, though. If I need this now, what's the recommended branch? Just… master? gulp |
I'm sure we could come up with a new release on fairly short order. I'll talk to @moy and we'll keep you posted. |
That would be swell, thanks. For others who may be running into the problem and are using v0.11.0 or earlier, I have found a simple solution:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I have a form like:
There isn't a way to submit the form. It will always raise a
LinkNotFoundError
.Around form.py:333 I'd do
The text was updated successfully, but these errors were encountered: