Breaks Related Issues
See original GitHub issueHello @Ilogeek,
Thanks for maintaining this very useful plugin.
I am on Redmine 4.2. I have a weird problem where this somehow makes adding a related issue return 422, I am forcing the HTTPs request through the configuration and the event listener is set for double clicks to not interfere. Disabling the plugin, I get the ability to add related tasks back but otherwise, it always returns 422.
Is there anything I am missing to enable the related issues or to contribute to the plugin?
While plugin is active its send the Accept
header of
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
while if I disable the plugin:
text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
and addition to the cookie normally it sends X-CSRF-TOKEN
with the session token.
These are the only discrepancies between the two requests but I am not sure which is related.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Research-Tested Benefits of Breaks - Edutopia
Students are easily distracted, but regular, short breaks can help them focus, increase their productivity, and reduce their stress.
Read more >Breaks and Meal Periods | U.S. Department of Labor
Federal law does not require lunch or coffee breaks. However, when employers do offer short breaks (usually lasting about 5 to 20 minutes),...
Read more >The Importance of Taking Breaks - The Wellbeing Thesis
Studies have found that breaks can reduce or prevent stress, help to maintain performance throughout the day and reduce the need for a...
Read more >Falls and Fractures in Older Adults: Causes and Prevention
If you fall, you could break a bone, which thousands of older adults ... The risk of falling — and fall-related problems —...
Read more >Labor Laws and Issues | USAGov
Discrimination and Harassment at Your Job · Wrongful Discharge/Termination of Employment · Family and Medical Leave Act (FMLA) · Minimum Wage, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Ilogeek You’re right. I fixed it months ago, but I didn’t know the right solution, was afraid of my “hack”. Next time I will make a pull request. Thank you for the plugin.
Hi @cenk1cenk2 and @boogiebug
Thank you very much for the complete and detailled issue. I may have found a workaround (thank you @AndreaAlbanese for the hint) regarding the encountered bug I still have to investigate to fully understand the missing header part but automatically adding an hidden input with the CSRF token on each form resolve the issue. The last commit add this capacity and also automatically update with a new CSRF token once we used the current one
Feel free to try this new version and don’t hesitate to come back to me if you have any issue
@SandonRacowsky I’m glad my plugin help your team so much ; https://paypal.me/zilliox/100 😉 I’m astonished by your generosity regarding free Open Source projects
(@sonnyyin @zikuan-wang @jwv next time don’t hesitate to fork it and fix it)