View Issue Details

IDProjectCategoryView StatusLast Update
5448Composr alpha bug reportsGeneral / Uncategorisedpublic2025-02-25 16:09
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Summary5448: Blanking out a date field does not save a blank date
DescriptionWhen 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 InformationBe 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.
TagsRoadmap: v11
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2024-10-12 21:44

administrator   ~9465

This needs discussion on implementation

PDStig

2025-02-25 16:08

administrator   ~9813

Last edited: 2025-02-25 16:09

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.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

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