Issue Number | 4180 |
---|---|
Summary | Date and User attributes not populating for GTN and GTC Processing statuses |
Created | 2016-11-01 13:23:21 |
Issue Type | Bug |
Submitted By | Osei-Poku, William (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2016-11-10 09:30:11 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.197539 |
When a new processing status value is added to a GTN or GTC document, it used to populate the Date and User attribute automatically in the attribute inspector. This has stopped working for a while now. Could you please restore this feature? 764537 is one example from Prod that has a mixture of ones that were populated and ones that were not.
Reported the bug to the vendor:
Hi, Derek. Doesn't appear that the On_ElementList_Insert macro is being invoked. According to the latest documentation (for 7.0, since you told us that the documentation hasn't been updated since that version) that macro should be "called when the Insert radio button is selected." Has something changed that we don't know about?
<MACRO name="On_ElementList_Insert" lang="JScript"> <![CDATA[ .Alert("Top of On_ElementList_Insert"); // <=== NEVER HIT Application... > ]]</MACRO>
Thanks!
Found out from the vendor that they changed the API without changing the documentation or informing their customers in change release notes. I may need to take them out behind the wood shed and have a little talk. :-)
It's working correctly on DEV. Adding the ticket to Einstein.
This appears to be working correctly on DEV when adding a new block of processing status (parent + child elements) elements. However, when adding only the child element (ProcessingStatusValue) to an existing empty parent element, it doesn't work. I don't think it is a big deal but if the attributes could be populated in all cases when selecting either the ProcessingStatus or the ProcessingStatusValue elements from the Elements List, that would be great.
It doesn't appear from the code that this case has ever been supported, but it is now. Please test on DEV.
Verified on QA.
Elapsed: 0:00:00.001388