Bug 1324468 - New item menu - no project selected, all items enabled after perspective reset
Summary: New item menu - no project selected, all items enabled after perspective reset
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 11:54 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:35:51 UTC
Type: Bug


Attachments (Terms of Use)

Description Zuzana Krejčová 2016-04-06 11:54:48 UTC
Description of problem:
In a specific case, it is still possible to have all items/asset types in the New Item menu enabled, even if there is no project selected in the project explorer. In this case though, there should be only the 'Project' item available, all others should be disabled.


Version-Release number of selected component (if applicable):
BxMS 6.3.0 ER2


Steps to Reproduce:
1. In administration, create a new org. unit and a new repo in this org. unit. (There should be no project inside this repo.)
2. Go to project authoring and in project explorer, select the newly created org.unit and repo.
3. Reset the perspective. (suitcase-like button in the upper-right corner)
4. (You should now still have the new org. unit and repo selected.) Click the 'New Item' button.
5. Mouse over the items in the menu.
6. Select some asset type, e.g. a DRL, and try to create it.


Actual results:
Step 5. All items are enabled.
Step 6. The package dropdown is empty (as expected), when you confirm the New Item modal, you get a new Error modal with "Path in which to create new resource is missing. Please enter."


Expected results:
Step 5. Only project item is enabled.
Step 6. Should not be reachable, but since it still might be, the text should be correct - something like "... missing. Please enter it." or "Package in which .. missing. Please select it."


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