Red Hat Bugzilla – Bug 1285433
[QE](6.2.z) WAS: creating a persistable data object causes an error
Last modified: 2016-07-31 21:18:58 EDT
Description of problem:
When user creates a new data object and chooses to create it persistable, an error occurs (see steps). The New Item modal doesn|t disappear, the data object is created though.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Select a project (project1) and a package (org.example).
2. Click New Item, select data object, fill in some name (MyFact).
3. Check the "Persistable" option.
4. Click Ok.
An Error modal appears with the following message:
"Unable to complete your request. The following exception occurred: It was not possible to create Java file, for path: default://master@bpms-assets/project1/src/main/java/org/example, fileName: MyFact.java."
The new item modal doesn't disappear (if you close the error modal, the new item is still there). The data object is created anyway.
The data object is created without any errors.
Making a previously not persistable object persistable after its creation is okay.
Created attachment 1098870 [details]
stacktrace in server log
This is just for different project/package/class names, but the exception is always the same.
Fixed in master:
not yet cherry-picked into 6.3.x
Now also cherry-picked into 6.3.x