| Summary: | Data Modeller resets Project Explorer package | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Sona Mala <smala> | ||||
| Component: | Business Central | Assignee: | Walter Medvedeo <wmedvede> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sona Mala <smala> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.0.0 | CC: | etirelli | ||||
| Target Milestone: | ER5 | ||||||
| Target Release: | 6.0.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 20:17:16 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Disabling the New Item menu items is something we need to address. The package reset I am not so sure as the data modeller is global to all packages. I guess it would be nice to keep the previously selected package just for user friendliness. Walter, I suspect your use of ProjectContextChangeEvent in DataModelerScreenPresenter.saveAndChangeProject(boolean, Project) is causing this behavour? Changing the project clears the package. State in ER4: Project explorer shows right package but "New Item" drop-down menu has disabled all options (only Project is enabled). The behaviour is like the any Path is selected. You can enable all options if you select different package in Project Explorer. Notifications from datamodeler to the project explorer was improved in order to let the project explorer be aware of package/files creation. The following commits introduces the changes. master: http://github.com/droolsjbpm/kie-wb-common/commit/570d20d8d 6.0.x: http://github.com/droolsjbpm/kie-wb-common/commit/e889ca53b Verified for ER5. Package is still selected and New Item contains actual path of Project Explorer. |
Created attachment 807663 [details] Video file - step to reproduce Description of problem: Save operation of the data modeller resets Project Explorer package to <default> and sometimes disables dropdown menu for "New Item". Version-Release number of selected component (if applicable): BPMS 6.0.0 ER3 How reproducible: Steps to Reproduce (see attached video): 1. open a project with some packages 2. select any package 3. open data modeller 4. add class 5. save Actual results: After few minutes the project explorer shows <default> package instead of package which was selected in step 2. Expected results: The project explorer shows still the same package (no changes). Additional info: Sometimes happen that "New Item" enables just "Project" item and "Business Process" item. I hope that this is reaction on reset a state of the project explorer.