stable

Clone or download

Read-only

fix: Wrong display of obsolescence date in metadata update modal

This closes request #29285 Obsolescence date must be well displayed at metadata edition Given a document item that have an obsolescence date set, when I open the metadata edition modal, then the obsolescence date must be well displayed and taken into account at edition if not modified. How to test ----------- * Edit the metadata of a document that have an obsolescence date set => The date must be well displayed in the input * Edit another metadata without modifying the date and submit the form => The date must not be set to null Change-Id: I38f60cbeb2b468ef2235fcca453202263fd32e8d

Modified Files

Name
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/ObsolescenceDatePropertyForUpdate.vue +10 −2 Go to diff View file
M plugins/document/scripts/document/helpers/properties-helpers/obsolescence-date-value.test.ts +22 −1 Go to diff View file
M plugins/document/scripts/document/helpers/properties-helpers/obsolescence-date-value.ts +9 −0 Go to diff View file