Red Hat Bugzilla – Bug 1006734
Exception in server.log caused that loading of designer freeze
Last modified: 2014-08-06 16:09:40 EDT
Description of problem:
If I want to open process which is invalid or which contains unsupported element by Designer then exception in server.log is shown and loading of Designer freezes.
(this is realistic scenario because git repository has no protection. An user can write own BPMN definition and add it into repository)
Version-Release number of selected component (if applicable):
6.0.0 BPMS ER2
Steps to Reproduce:
1. Add invalid BPMN2 definition into git repository.
2. Go to business central
3. Clone this repository
4. Open process
Loading of designer freezes, server.log shows some exception like:
- Could not find BPMNDI information:
- Event definition not supported: org.eclipse.bpmn2.impl.CancelEventDefinitionImpl@5d115595
Common user does not know what happend. The user must have access to server.log if he want to know what happend.
Stop loading of designer, shows some error page or alerts which describe actual problem.
My idea is that instead of Designer, a simple text editor is opened. This editor contains:
- actual problem (highlighted line or simply write a message of exception into alert)
- operation for writing, saving, deleting
- source code of BPMN2 definition.
Now only way, how to delete or correct an invalid BPMN2 process, is an access to git repo.
This is not necessarily a blocker. But a valid scenario.
Designer freezing is not good. Can designer have some validation that the file is not valid and just bring up an error message ?
Internal Whiteboard: Beta Blocker → Blocker
Not critical for Beta, but need to address for GA
Reopening because it's not possible to delete the file in question any other way then using GIT.
You can delete this file from the save option in the designer toolbar. just click on it and select delete after opening it.
You cannot delete the process every time - see https://bugzilla.redhat.com/show_bug.cgi?id=1034783
Marek, we do agree that https://bugzilla.redhat.com/show_bug.cgi?id=1034783 is an issue, so this one is still open, and we'll try to fix asap. But assuming you're not hit by this other bug (by which I still mean: assume you're loading a file with invalid content), do we still need to do something regarding this BZ?
I guess we don't. Marking as VERIFIED (on BPMS 6.0.0.ER5)