Ilogeek / redmine_issue_dynamic_edit

Allows users to dynamically update (AJAX) issue's attributes from issue details page without any refresh (JIRA like)
http://www.redmine.org/plugins/redmine_issue_dynamic_edit
MIT License
134 stars 56 forks source link

Hotfix #90: Error 422 on Related Issues #93

Open AndreaAlbanese opened 2 years ago

AndreaAlbanese commented 2 years ago

Hotfix of issue #90 relate to error 422 when create a new related issue. Fixed by adding the csrf-token in a hidden field of the new-relation-form form.

Note: The fix don't fix the missing headers and isn't tested in HTTPS environment, but is a quick solution (better than nothing).

Ilogeek commented 2 years ago

Hello @AndreaAlbanese Thank you very much for your PR regarding issue #90 I'll give a check and try to understand the related issue part (I don't use it so I'm not familiar with)