On the first page I have some Option Classes with a model Node A. Additionally created a Custom Button with Raise Command Event("FOO"). Behind there is a java extension rule to hear for the event with onCommand("FOO"). This extension does a redirect to a custom JSP-Page.
On the second page there is just one Option Class with the model Subnode B.
Now, if I test this model, showing the first page, the custom button will refresh the main window and bring up a new popup window, if I click on it. This is, how it should be working.
But, if I click on my second page and navigate again back to the first page, a click on the button will not bring up my window! Only the main page is refreshed once with no effect.
If I click on "Preview Configuration" and after that "Return to Configuration", the popup window is shown after clicking on the custom button!
So, something is written wrong on the second page and will be restored with "Preview Configuration"... Maybe some session or status variable...
I think your test case should be working. Coming to first page from 2nd page should not affect CX onCommand button behaviour unless you are doing something specific/conditioanallly in your code. You should raise Oracle SR.