We have usecase master detail record, when click on edit button and then clicking on cancel button having immediate attribute true and resetActionListener shows replicated rows in detail list. We have implemented the same scenario using HR schema with entity Jobs as master and Employees as detail and received the same behaviour.
We are using EJB3.0, and JDeveloper 220.127.116.11.0. We have also checked this issue on JDeveloper 18.104.22.168.0 and found working properly as expected.
To replicate the same behaviour we created a sample application using HR schema. Following are the detail of our project and procedures.
Creating Sample Application
2. Create entities from table. Jobs and Employees. (create connection as well with you HR schema)
3. Create SessionBean
4. Create findById method and expose it to local and remote interfaces
|Create findJobById method|
|Your model should looks like above|
4. Create DataControl
|Data Controls shold looks like above|
|Create taskflow and view inside it.|
|Create view, your page should looks like above. Drag and drop datacontrol to create form and table. And have a button with name cancel.|
|Just to test the scenario provide hardcode value for jobId, I have provided "SH_CLERK" which has many detail records.|
|Cancel button should looks like above must have immediate property true and resetActionListener|
|Create jspx page, and drag and drop created task flow in it as Region.|
|Above replicated rows are shown in detail after clicking on Cancel button.|
Download source code
I would like to say thanks to Pino for identifying this issue.
Fix is available, please check link