New Thread is created on user click
User had a list view configured for multiple select is a button on the top of the list view, on the click of this button they are invoking an activity to delete a record.
However,the record is not deleted.
On click of the button they are calling a function which does the following:
On tracing found that there was a different thread created because of which pages created by the current thread is not accessible to the other thread and hence records are not deleted.
Multiple threads are created which causes the clipboard value created by one thread inaccessible by another thread.
Steps to Reproduce
1. Create a list view for multiple select.
2. Create a button and on-click of that button deleted the selected item by running a activity using openSpace, so that it gets loaded into the work area of the composite portal.
Root CauseOpenSpace creates new thread and opens a new document. This is expected.
Local-change to use pega.u.d.submit(url);
Following are the other approaches:
- Use "Launch harness" action with "Replace current" option
- Change list views to grids with RD bound wherever possible
0% found this useful