Error in creating recent item avoids to save any record
Description
In a window with more than one Tab in TabLevel 0 the code tries to create a RecentItems record always from Tab 0 if you save a detail tab (or another TabLevel 0 tab).
If your first Tab does not contain any record you are not even able to save the record. The error message is like "FillMandatory: Record_ID is mandatory".
My usecase is a window that shows my active Requests in the first tab and all Requests in the second. If there are no active Requests and I try to change one of the Requests in the second tab I raise the given error message.
Environment
None
Attachments
2
06 Aug 2014, 09:41 PM
06 Aug 2014, 08:54 PM
Activity
Thomas Bayen
August 6, 2014 at 11:38 PM
I tested this patch. It works in my usecase. ...and it seems not to break the intended behaviour in the standard cases. Please review.
In a window with more than one Tab in TabLevel 0 the code tries to create a RecentItems record always from Tab 0 if you save a detail tab (or another TabLevel 0 tab).
If your first Tab does not contain any record you are not even able to save the record. The error message is like "FillMandatory: Record_ID is mandatory".
My usecase is a window that shows my active Requests in the first tab and all Requests in the second. If there are no active Requests and I try to change one of the Requests in the second tab I raise the given error message.