Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Master detail with detail goes wrong

Hello I installed the master detail sample application and created a new page with three IG.

The first IG is based on the EBA_DEMO_MD_PROJECTS (MASTER) table.
The option "Select First Row" is not enable.

The second is based on the EBA_DEMO_MD_MILESTONES (DETAIL) table with references to the master through the PROJECT_ID column.

I created a third IG which is the detail of the milestone table, based on the EBA_DEMO_MD_TASKS table

Browsing through the records of the master and subsequently in the detail, the third IG is no longer updated and an error is generated in the console.

Uncaught TypeError: Cannot read properties of null (reading 'getRecordMetadata')
    at q.<computed>.<computed>.<anonymous> (modelViewBase.min.js:2:17612)
    at U (modelViewBase.min.js:1:1207)
    at Object.forEachInPage (modelViewBase.min.js:1:17494)
    at Object.next (modelViewBase.min.js:1:16900)
    at Object._drainWaiters (modelViewBase.min.js:1:34118)
    at modelViewBase.min.js:1:8623
    at c (desktop_all.min.js:2:28447)
    at Object.fireWith [as resolveWith] (desktop_all.min.js:2:29192)
    at s.<computed> [as resolve] (desktop_all.min.js:2:31093)
    at modelViewBase.min.js:1:8490

Uncaught TypeError: Cannot read properties of null (reading 'serverOffset')
    at q.<computed>.<computed>.<anonymous> (modelViewBase.min.js:2:17640)
    at U (modelViewBase.min.js:1:1207)
    at Object.forEachInPage (modelViewBase.min.js:1:17494)
    at Object.next (modelViewBase.min.js:1:16900)
    at Object._drainWaiters (modelViewBase.min.js:1:34118)
    at modelViewBase.min.js:1:8623
    at c (desktop_all.min.js:2:28447)
    at Object.fireWith [as resolveWith] (desktop_all.min.js:2:29192)
    at s.<computed> [as resolve] (desktop_all.min.js:2:31093)
    at modelViewBase.min.js:1:8490

The steps that generate the error are:

  • open page and click on the first master record (LBEATIE)
  • click on the second master record (TKING)
  • click on the third master record (LBEATIE)
  • click on the fourth master record (MIYAZAKI)
  • click on the fifth master record (TKING)
  • return on the fourth master record (MIYAZAKI)
  • click on the second record of mileston IG
  • click on the third record of mileston IG, 2 equal async calls are generated and the error appears in the console

Thanks!

This post has been answered by Steve Muench-Oracle on Mar 11 2024
Jump to Answer
Comments
Post Details
Added on Aug 2 2023
15 comments
1,483 views