Skip to content

[FIX][ENH] Trackers, Multilingual: Prevent loss of all editing if omitting translation of a mandatory field (used to work with default language)

Lupundu Yan requested to merge yan.lupundu/tiki:yan.tiki into master

On a Tiki set to use multilingual, when we have a tracker with multilingual fields. All editing is lost if omitting translation of a mandatory field. So it was necessary to make some controls on the trackers :

  • It should be possible to save an item when a mandatory field contain at least one language value.
  • When the user doesn't fill the value in the field for the default language but for other languages, it should be possible to save with a simple warning.
  • It should NOT be possible to close the modal until the condition for saving the item are meet.

You will find more details in the comments of the following links : https://dev.tiki.org/item8032, https://avan.tech/item72973

Edited by luci

Merge request reports