Posted: 27 Sep 2015 14:11 EDT Last activity: 26 Oct 2015 7:18 EDT
Incorrect names of menu (other actions) coverable works items
Hello! Our enviroment is a PRPC 7.1.8 (PRPC 7.1.9 we can't install, because we need ie8 for our client).
I have a problem with names of menu items. For different work Case menu items have the same name like pic.
We use standart navigation bar, we have different labels for cases. I did some research in which I was able to establish the cause of such behavior.
During the formation of menu items activity RULE-OBJ-ACTIVITY WORK- LOOKUPCOVERABLEPROCESSLIST #20150123T182719.906 GMT is invoked, which generates .pyLabel for menu items (not only .pyLabel). It is localized on the field value. At some point (under certain conditions) pyLabel filled with the same values. The reason for this behavior in the next.
Activity LOOKUPCOVERABLEPROCESSLIST invoke in loop RULE-OBJ-ACTIVITY RULE-OBJ-FLOW PZSETSHORTDESCOFFLOWANDCLASS #20150123T182720.131 GMT.
Under certain conditions, this activity fills Param.ShortDescription, which use in LOOKUPCOVERABLEPROCESSLIST.
But in this activity (LOOKUPCOVERABLEPROCESSLIST), this Param.ShortDescription is never cleared. Accordingly, a situation may arise (as I happened) that some of the elements will have the same name (same .pyLabel).
Below are a few images from the tracer.
(elements of ProcessList)
(next elements (last) of ProcessList)
(The reason - it is filled Param.ShortDescription)
For interest - this bug seems to be appeared in case we have 2 and more child case in one "inheritance" branch, because "error" logic starts only if we have flow pyStartCase with one class key part. In described scenario this is SB-SBRF-UCLP-Work-Documents-ReqMissingDocuments and SB-SBRF-UCLP-Work-Documents cases