Content
View differences
Updated by Hagen Schink over 12 years ago
**Reproduction**
Create or update a work package and provide notes for the journal entry, e.g.:
<planning_element>
<subject>My work package</subject>
<!-- ... -->
<note>This is a change note</note>
</planning_element>
**Expected behaviour**
- The server does not fail with an HTTP 5xx Code
- The change is accepted and the journal contains the specified note
**Actual behaviour**
- An internal server error is reported (HTTP 500)
- The change is not accepted at all
**Why is this a bug? (and not a feature request)**
- The permitted params of work\_package contain “:note”, so there was a time when it was expected that note was passed inside a work\_package-element
- see app/models/permitted\_params.rb
Create or update a work package and provide notes for the journal entry, e.g.:
<planning_element>
<subject>My work package</subject>
<!-- ... -->
<note>This is a change note</note>
</planning_element>
**Expected behaviour**
- The server does not fail with an HTTP 5xx Code
- The change is accepted and the journal contains the specified note
**Actual behaviour**
- An internal server error is reported (HTTP 500)
- The change is not accepted at all
**Why is this a bug? (and not a feature request)**
- The permitted params of work\_package contain “:note”, so there was a time when it was expected that note was passed inside a work\_package-element
- see app/models/permitted\_params.rb