https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292022-04-18T07:56:20ZRedmineRedmine - Defect #36967: issue#create difference error patterns between project_id inside and outside with none member conditionhttps://www.redmine.org/issues/36967?journal_id=1064212022-04-18T07:56:20ZMizuki ISHIKAWA
<ul></ul><p>I was able to reproduce the same behavior.</p>
<ul>
<li>Pattern 1: POST request to <a class="external" href="http://localhost:3000/issues">http://localhost:3000/issues</a>. When the create action is executed by the request, the ticket will result in a validation error.</li>
<li>Pattern 2: The same processing occurs as when you send a POST request to <a class="external" href="http://localhost:3000/projects/5/issues">http://localhost:3000/projects/5/issues</a>. An error occurs before the create action starts because you do not have permission to POST access <a class="external" href="http://localhost:3000/projects/5/issues">http://localhost:3000/projects/5/issues</a>.</li>
</ul>
<p>Pattern 1 and Pattern 2 seem to have different status codes because the process failed at different times in the code.</p>