View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5448 | Composr alpha bug reports | General / Uncategorised | public | 2023-11-21 09:15 | 2025-02-25 16:09 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | assigned | Resolution | open | ||
Summary | 5448: Blanking out a date field does not save a blank date | ||||
Description | When blanking out an optional date / time field, it does not save. Instead, Composr maintains the previous value of the field. The expected behavior is that the date/time field would save as blank. | ||||
Additional Information | Be cautious about this because we do not want to save blank dates/times if the post param was not actually specified; we need to ensure it was actually specified as blank and not just excluded as a parameter / field. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Sponsorship open | |||||
|
This needs discussion on implementation |
|
I attempted to fix this as a fix is needed for the validation time feature to fully work. However, I was unsuccessful. My attempted method was to alter the API for getting date components so that it returns null for a blank date and false for no date field being provided at all. Unfortunately, this created a mess of type errors and bugs. It also created a cascade effect as altering one API resulted in having to alter several more. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-21 09:15 | PDStig | New Issue | |
2023-11-21 09:15 | PDStig | Status | Not Assigned => Assigned |
2023-11-21 09:15 | PDStig | Assigned To | => user4172 |
2024-09-13 02:34 | PDStig | Tag Attached: Roadmap: v11 | |
2024-10-12 21:43 | PDStig | Assigned To | user4172 => Chris Graham |
2024-10-12 21:44 | PDStig | Note Added: 0009465 | |
2025-02-25 16:08 | PDStig | Note Added: 0009813 | |
2025-02-25 16:08 | PDStig | Note Edited: 0009813 | |
2025-02-25 16:09 | PDStig | Note Edited: 0009813 |