My Oracle Support Banner

After Table Sort, First Row is Deleted Instead Of Selected Row (Doc ID 2128510.1)

Last updated on DECEMBER 19, 2022

Applies to:

Oracle JDeveloper - Version to [Release 12c]
Information in this document applies to any platform.


The issue can be seen in JDeveloper and reproduced by following the below mentioned steps:

1) Create new ADF Fusion Web Application.
2) Create connection to Oracle Database.
3) Create Entity Object by "Business Components From Tables".
4) Create New Default View Object for Entity.
5) Create New Application Module and include View Object in it.
6) Create new page on view project by New\Page\Create JSF Page.
7) Drag And Drop View from Data Controls to new page.
8) Select "Table / List View", then "ADF Table".
9) Click Row Selection combo box to SingleRow.
10) Click flags: Enable Sorting, Enable Filtering, Read-Only Table.
11) Drag And Drop "delete" operation on a new colum.
11) Run page.
12) Select any row by clicking on it to ensure that it gets selected.
13) Press Sorting (asc or desc) on any column header.
14) Now, select any row in table (not the first) and try to delete with the delete button, the first row is deleted.

The following row related actions have also been reported as working incorrectly after the corresponding table was sorted based on values of a column:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.