Hide Forgot
Created attachment 788719 [details] Video of reproducing steps Description of problem: The button 'Duplicate current page' in the administrator bar doesn't take user to the correct page after the steps described below, but instead takes him to 'Create new page'. Version-Release number of selected component (if applicable): BPMS 6.0.0.ER1 How reproducible: Always Steps to Reproduce: 1. starting from default homepage (workspace Showcase, page Home) click 'Create new page' in the admin bar (this correctly takes you to 'Create new page' of the General options view) 2. Without creating a new page, click 'Back to workspace' button at the top left 3. Now click on 'Duplicate current page' button Actual results: User is taken to page 'Create new page' as if he clicked the button in step 1 Expected results: User should be taken to page 'Duplicate page Home' Additional info: Note, that when clicked immediately (without first clicking 'Create new page') the button works as expected - it takes us to 'Duplicate page Home'. But when used in sequence described, the problem arises. Video of reproducing steps attached.
Now the handler duplicate and create page action is reset before a new duplicate and create page action is requested. Commits: https://github.com/droolsjbpm/dashboard-builder/commit/3f210f7baf507c4613917995a9d0c265487ee689
Commits Master https://github.com/droolsjbpm/dashboard-builder/commit/3f210f7baf507c4613917995a9d0c265487ee689 6.0.x https://github.com/droolsjbpm/dashboard-builder/commit/638e22e189e1a36523a461b54758411c83bb8bc0
Ok, verified with BPMS 6.0.0 ER4