Comments (9)
@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.
from redmine_issue_dynamic_edit.
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)
from redmine_issue_dynamic_edit.
same issue
from redmine_issue_dynamic_edit.
+1 with the issue.
when adding a related issue I have always this error:
from redmine_issue_dynamic_edit.
I found that the X-CSRF-Token
and X-Requested-With
headers were not sent to server when the plugin is enabled.
Header when plugin is disabled
POST /issues/xxx/relations HTTP/1.1
Host: <removed>
Connection: keep-alive
Content-Length: 118
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
X-CSRF-Token: 0QzMXq4u9lrtdOZQXUlr42dMY1qG1NjNBKashqHc61cqraPyT901bKNhsvjsVuy9VwDjew33CccSdPWFkaM4rA==
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
sec-ch-ua-platform: "Windows"
Origin: <removed>
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: <removed>
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,th-TH;q=0.8,th;q=0.7
Cookie: <removed>
Header when plugin is enabled
POST /issues/xxx/relations HTTP/1.1
Host: <removed>
Connection: keep-alive
Content-Length: 112
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
Origin: <removed>
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Accept: 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
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: <removed>
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,th-TH;q=0.8,th;q=0.7
Cookie: <removed>
from redmine_issue_dynamic_edit.
Same here. This issue is the missing headers.
from redmine_issue_dynamic_edit.
I experience the same issue. Switched to an older browser (IE), where this plugin does not work and there, you can create relations (duplicates) with no problem.
from redmine_issue_dynamic_edit.
Need this fixed ASAP... Offering a $100 bounty to the first person that submits a PR resolving this issue in v4.2 @Ilogeek
from redmine_issue_dynamic_edit.
Same issue,hope resolve it
from redmine_issue_dynamic_edit.
Related Issues (20)
- Decription field problem when selected 'Preview' HOT 2
- Error : "no url" alert on sub issues HOT 1
- Copy paste image in visual editor doesn't work - no attachment saved.
- console.warn('Issue while trying to get version (avoiding conflict)'); HOT 1
- Basic auth request (401) when _CONF_CHECK_ISSUE_UPDATE_CONFLICT is true HOT 11
- the lable for custom field hidden HOT 2
- A pop-up appears but cannot be edited. HOT 5
- issue list HOT 1
- the value does not change, you have to update to see the change
- markdown menu disappears after dynamic field edit
- Automatic authorization in the API HOT 4
- Web auth keeps popping up in issue page HOT 2
- Can't change status in the issue main page. We need to visit the Edit page to change status. HOT 1
- Does no update 403 HOT 6
- The plugin does not work - Redmine 5.1.0.stable HOT 4
- The plugin creates a lot of problems on the front end.
- The plugin modifies the AJAX requests outside the ones it is handling by itself HOT 2
- Can the version number be increased? HOT 1
- The plugin modifies the behavior of dynamic (sub)forms
- Can't change issue title from 0.9.1 to 0.9.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_issue_dynamic_edit.