Change StartAndDueDate widget to use WorkItems::DatesSource as its database model to write and read
Problem
With the introduction of the RolledupDates we also introduced WorkItems::DatesSource model to be the work item single source of truth for dates. However, the StartAndDueDate widget still writing dates directly on the issues table.
To make matters worse, there's also some confusion between the RolledupDates and the StartAndDueDate widgets. Now with more knowledge, we see that the RolledupDates widget should be actually just an EE extension for the already existing StartAndDueDate.
Proposed solution
To simplify all that, we need to:
- Ensure a single source of truth for the work items dates fields in the database: #469379 (closed)
- Ensure that StartAndDueDatewidget is using theWorkItems::DatesSourceas its database model (this issue)
- Change the RolledupDateswidget to be anEEextension of theStartAndDueDatewidget
Related work:
Edited  by Kassio Borges