Repository navigation
midgie 0.16.3
Fixed
- An edited keyed entry is replaced, not duplicated, on a tracked tree. A resource whose
schemaHandling/objectTypeheld a reaction with an unnamed<addFocus/>came out of a deploy with two object types of one kind and intent, and midPoint no longer loaded its schema.--equivalence autocompares a list by content when any key inside its entries is left empty, so the edited object type diffed to "add the new form, delete the old";merge, the default on a tracked tree, dropped that delete as a value beyond the tree, and the removal detector — which pairs the entry by itskind + intent— deleted only the items dropped from inside it. Merge now keeps the delete of a live value that carries the container id or natural key of an entry the tree declares: that value is the entry's old form. A server already holding both forms is cleaned up by the next deploy of the tree.
Added
-
A change that would hold one natural key twice is refused.
deploy, a livediffand an offlinediffproject the whole PATCH onto the live object and fail the object (exit 2) when a keyed list would end up with more values sharing one filled-in key than it has now:refusing a change that would leave schemaHandling/objectType[kind=GENERIC, intent=task] ×2 …. A duplicate the server already holds does not block. -
-vnames the listsautocompared as whole values. Per object, anote:for each list--equivalence autodid not pair by natural key, naming the key inside it that is not filled in (…/reaction/actions/addFocus does not fill in its key (name)). A change inside such a list replaces the entry whole; this was visible only in the debug log'sequivalence=field.