Content
View differences
Updated by Hagen Schink over 12 years ago
**Actual behavior**
- When I open an existing work package, meeting, … for editing and I save it without changing anything empty journal entries are created occasionally.
**Expected behavior**
- Editing and saving without changes should not create a journal entry.
*Analysis
- Sometimes empty text fields are recorded as empty strings, sometimes they are nil (for work packages).
- The existing journals always record empty text fields as nil.
- Saving an existing item without changes saves an empty string instead of nil, so the change is recorded.
- When I open an existing work package, meeting, … for editing and I save it without changing anything empty journal entries are created occasionally.
**Expected behavior**
- Editing and saving without changes should not create a journal entry.
*Analysis
- Sometimes empty text fields are recorded as empty strings, sometimes they are nil (for work packages).
- The existing journals always record empty text fields as nil.
- Saving an existing item without changes saves an empty string instead of nil, so the change is recorded.