Bug 999282 - 'Duplicate current page' button takes user to incorrect page
Summary: 'Duplicate current page' button takes user to incorrect page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: BAM
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER4
: 6.0.0
Assignee: Neus Miras
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 05:38 UTC by Jan Hrcek
Modified: 2014-08-06 20:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:11:17 UTC
Type: Bug


Attachments (Terms of Use)
Video of reproducing steps (918.59 KB, video/webm)
2013-08-21 05:38 UTC, Jan Hrcek
no flags Details

Description Jan Hrcek 2013-08-21 05:38:27 UTC
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.

Comment 1 Neus Miras 2013-09-05 09:56:40 UTC
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

Comment 6 Jan Hrcek 2013-10-17 05:27:01 UTC
Ok, verified with BPMS 6.0.0 ER4


Note You need to log in before you can comment on or make changes to this bug.