stable

Clone or download

Read-only

Correct wrong data-binding

This is a part of story #13589 Update hardcoded metadata How to reproduce: Open a document in preview, then open the update metadata modal Change the status or the obsolesence date, without submiting modal: => status/date is updated in modal this is due to the fact that when we copy item into data item_to_update, it seems that the get/set vue are kept, the best way we found to remove this behaviour was to use json to convert the item object into a json object only see: https://github.com/vuejs/vue/issues/971#issuecomment-115258163 Change-Id: Ia884e06b77cbbc68d23483e04ff3ca90b6b44cd5

Modified Files

Name
M plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.vue +1 −1 Go to diff View file