Red Hat Bugzilla – Bug 1295548
WAS: creating a persistable data object causes an error
Last modified: 2016-07-31 21:11:59 EDT
+++ This bug was initially created as a clone of Bug #1285433 +++
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.
--- Additional comment from Zuzana Krejčová on 2015-11-25 10:13 EST ---
This is just for different project/package/class names, but the exception is always the same.
--- Additional comment from Walter Medvedeo on 2015-12-02 03:19:04 EST ---
Fixed in master:
not yet cherry-picked into 6.3.x
--- Additional comment from Walter Medvedeo on 2015-12-09 13:02:12 EST ---
Now also cherry-picked into 6.3.x
I don't understand the reason for creating a clone of the same BZ that was already In Modified state.
Verified with BRMS 6.3.0.ER1 and IBM WebSphere Application Server, 184.108.40.206, following the steps to reproduce.