Moved logics to create a portrait in a proc in order to reuse it in other places such as picture …
Show more
Portrait management reform and correctionMoved logics to create a portrait in a proc in order to reuse it in other placessuch as picture retrieval services (e.g. Bach picture retrieval at WU). Turns outwe were not doing our homeworks here: when the portrait is created into CR, acr_child_rel is created. When the portrait was erased though, this was not cleanedup propely, leaving dangling acs_objects with no reference in cr_child_rels table.On busy sites, this can grow in the ten thousands order of magnitude. Changes includealso fix for this behavior and tuples cleanup.
Show less