Bug 1324596
| Summary: | [GSS] [6.2.z] 6.2.2 unable to open/edit some assets with specific user | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Hiroko Miura <hmiura> | ||||||
| Component: | Business Central | Assignee: | Toni Rikkola <trikkola> | ||||||
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 6.2.0 | CC: | etirelli, lpetrovi, rrajasek | ||||||
| Target Milestone: | CR1 | ||||||||
| Target Release: | 6.2.3 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | 1324592 | Environment: | |||||||
| Last Closed: | 2020-03-27 20:00:56 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: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | 1324592 | ||||||||
| Bug Blocks: | 1327763, 1327765 | ||||||||
| Attachments: |
|
||||||||
|
Description
Hiroko Miura
2016-04-06 17:56:47 UTC
Ok, managed to reproduce. The example repository is not needed. Steps are: 1. Create a repository "testrepository" 2. Add a project "testproject" and some asset "testdrlfile" 3. Delete "testrepository" 4. Go to authoring and try to open any asset. Inbox code fails since it tries to load the deleted repository. Working on a fix. Works in latest master. Searching if there is a fix that can be cherry-picked. Ok, I was wrong. This does affect master. Master just hid the error better, but when opening assets after a repository is deleted I get the same blue "No such file. Please check the file exists at the version selected." notification in asset screen. And the fix is in 6.4.x: https://github.com/droolsjbpm/guvnor/commit/c82bb76c1b1b8f395ae83a69f1b012cb6f701680 master PR still pending. Wrong ticket, sorry. Created attachment 1154611 [details]
deleting repository exception
I tried the steps in Comment 3 for both BPMS 6.2.2.GA and 6.2.3.CR1 and I am getting the following result. After deleting the repository, the following message appears: "Unable to complete your request. The following exception occurred: null." However, the repository is removed from the UI in business-central. After switching to Authoring perspective there is the same message again. (See the attachement). The testrepository and created asset stays there although it is not possible to open it until one changes to the default repository. Then it disappears. Even though this is a different issue than originally described, I am still returning this to assigned as it could be possibly connected and also this issue makes it hard to verify that the original bug has been fixed. Ok, managed to reproduce with 6.3.x branch. Fixing. The remaining issue is not as severe as the original. The error is captured and reported on the client. The reporting is just poor "The following exception occurred: null." is not the most professional way to handle this situation, but it does not make the workbench unusable in anyway. Investigated more. There are two problems: #1 If you have a editor open for any asset that was in the deleted repository. The code that retrieves the version history adds an exception into the log. This is not visible in the UI. #2 The "...exception occurred: null" is caused by the Project Explorer trying to retrieve something that does not exist. After deleting the repository, if you had it previously open in PE and go back to Authoring. You get this error popup and the PE still shows the deleted repository. Once you select any other repository everything is fine again. |