-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.8.0.GA
-
None
-
RHPAM 7.8.0
-
False
-
False
-
-
-
-
-
-
-
-
Undefined
-
---
-
---
-
-
2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19), 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30)
When a data object is updated in already deployed project (in development mode), the change is not taken into account. However, this works fine if the project is saved in the production mode.
Steps to reproduce:
- Create new project (leaving the default "development mode" in the Project Settings), add new data object..for instance: person (name as String and surname as String) and save this asset.
- Add new Business Process Asset with simple start -> user task -> stop.
- In the Business Process add person object as process data;
- Navigate to user task and set the following:
- :kie-server as Group,
- add person as Task output and assignments
- in the "OnExit" Action add:System.out.println("name: "+person.getName());
System.out.println("surname: "+person.getSurname());
- Save the change and create all forms;
- Deploy this project;
- Execute the process (the server.log file should show values for name and surname);
- Make the change in the person data object and add "email" for instance;
- Save the change;
- Add "System.out.println("email: " + person.getEmail()); to the process's "OnExit" Action;
- Save the change;
- Remove previously created forms and create new ones;
- Redeploy this project and execute it again;
- As a result, name and surname will be properly shown in the server.log file but we will have email: null instead of the proper value:
- 10:56:00,018 INFO [stdout] (default task-34) name: biljana
10:56:00,019 INFO [stdout] (default task-34) surname: kramer
10:56:00,019 INFO [stdout] (default task-34) email: null
- 10:56:00,018 INFO [stdout] (default task-34) name: biljana
- If the project is saved in the production mode, then this redeployment works fine.
If the project is saved in the production mode, then redeployment works fine and the data object is updated. Also, when the server is restarted, the updated data object is taken into account for the project in the "development mode".
Attached file contains detailed instructions to reproduce this issue.
- is related to
-
JBPM-9437 Updated data object is not take into account when the project is redeployed in the "development mode"
- Resolved