[06:01] - On UpLoad CMLoadSheet page, when OK is clicked, the form will be submitted for the first time to the processor, and Warning Message pop widow comes up saying "Have aarning message, do you want to continue?"
[06:05] - Then select Yes, the form is submitted for a second time to the processor
However, the page keeps loading without stop.
[06:09] - But in fact, the action completed. It is just that the page keeps loading without returning.
Note that this customization worked well in 10.2 but not in 11.1 M020. The problem is that the JS is not executed for the second sumit.
Steps to reproduce:
Put custom-action.xml and custom-actionModels.xml in /opt/ptc/Windchill_11.1/Windchill/codebase/config/actions/
Deploy netmarkets/jsp/com/demo/TestProcessDemo.jsp and netmarkets/jsp/com/demo/TestProcessDemoStep.jsp
Put TestProcessorDemo.java in src/com/lenovo/plm/elois/custommodel/spi and run: ant -f bin/tools.xml class -Dclass.includes=com/lenovo/plm/elois/custommodel/spi/TestProcessorDemo.java
Create a document and go to its Details page. Expand Actions and click on the first empty menu.
Click on Precheck
Click on Ok on the Waring Message pop window
Result: the window keeps loading without returning
If you did not click Precheck and directly click on Ok on the UpLoad CMLLoadSheet page, it works.
The problem is with a second submit to the processor which does not execute the js for the second submit. It worked in 10.2 but not in 11.1.