Merchandise order form allows selection of wrong shipping option #877
Labels
No Label
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#877
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The merchandise order form does not verify whether the selected shipping option matches the country of the shipping address. So it's currently possible, for example, to enter Germany as the detination address and still select the option for internation shipping.
When trying to push the changes, I get the following error message:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.fsfe.org/FSFE/fsfe-website
Apparently this boils down to some server-side scripts doing a form of pre-validation. As soon as this is fixed, I am going to try to push the changes again.
@monochromec, you seem to push to upstream master, this is discouraged. Could you please open a new branch on either your fork or this repo, and create a pull request?
Also, as the pre-validation is checking for valid xml files, there might be an issue with the syntax.
Hi @Max, I'm pretty sure I created a new branch when I cloned the repo but I'll double-check. @vincent: Would it be possible to post / send me the output of the bash script including the error message so that I can try to recreate the issue with the XML file failing (if it's an XML error)?
@monochromec These are the two hooks that we have running: https://git.fsfe.org/FSFE/fsfe-website/src/branch/master/tools/githooks
I strongly suggest to activate the client-side pre-commit hook: https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Enabling_XML_syntax_check
Sorry, forgot to checkout the branch - I'm getting old :-). Commits have now been pushed but as I don't have the back-end locally, Q/A has been limited. Let me know if there are any issues with the code.