-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.44.0.Final
-
None
-
False
-
False
-
NEW
-
NEW
-
Undefined
-
---
-
---
-
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.
- relates to
-
RHPAM-3235 Updated data object is not take into account when the project is redeployed in the "development mode"
- Closed