stable
Clone or download
Read-only
request #11044 Empty Datetime fields cause a javascript error in artifact modal
Bug introduced in 895532a6830fba8a613190e7668c013ccb516340 How to test: - In a kanban tracker, set up a date field to use time (check the checkbox) - Edit a kanban artifact which has no value for this field (empty value, or default value empty). There should not be a JS error, the datepicker should show up when you click. - Edit an artifact with a value. Seconds shouldn't be displayed. Change-Id: Ie4f0f0a7ff6d70b13937a31548052075995c0958
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/www/scripts/angular-artifact-modal/src/model/field-values-service.js | +4 | −10 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/src/model/field-values-service.spec.js | +1 | −1 | Go to diff View file |
M | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field-controller.js | +0 | −5 | Go to diff View file |
A | plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/date-field/date-field-initializer.js | +33 | −0 | Go to diff View file |