Red Hat Bugzilla – Bug 1274691
AssetMgmt: Releasing project from master branch breaks Process Instances perspective
Last modified: 2017-12-07 18:38:10 EST
Created attachment 1085818 [details]
Error dialog in Process Instances perspective
Description of problem:
It is not allowed to release managed project from a branch whose name doesn't start with "release". This is probably covered by a rule evaluated during release process. However it is possible to submit release dialog with a non-release branch as validation is not performed at this point. If that happens, business central starts to log error messages (in server.log) in an infinite loop. After switching to Project Instances perspective, this manifests by showing error dialogs (also in an infinite loop) so the perspective is totally blocked.
Version-Release number of selected component (if applicable):
***With asset management enabled.***
Steps to Reproduce:
1. Create a managed repository with a single project.
2. Go to Authoring, select the repository and project.
3. Check that master branch is active (should be by default).
4. Open Repository -> Repository Structure.
5. Click Release button, click Ok without changing any value.
* Error messages in server log:
> 13:10:30,556 ERROR [AssetMgmt] (http-localhost.localdomain/127.0.0.1:8080-5)
> Not valid for release as branch to release from does not start with release -
> given name is master
* Error dialogs in Process Instances perspective.
The process error should be handled in a way that doesn't break Process instances perspective.
Pull request submitted https://github.com/droolsjbpm/guvnor/pull/178
Now the checks for releasing a branch are added to the view.
Fixed. Release form validation now prevents releasing from any branch that doesn't have "release" prefix.
Employee 'firstname.lastname@example.org' has left the company.