UI Crashing When Loading Child UI in Page Include Region With Error: [Model] does not have a child with id [123456] (Doc ID 2037439.1)

Last updated on OCTOBER 12, 2016

Applies to:

Oracle Configurator Developer - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.31.8 version

When attempting to select an option from a drop-down list during runtime on a user interface within a parent model (Model A) that has a page include region of Model B's UI (The referenced child), the following error occurs. Model B works as expected when tested separately. It also works without the Display Condition.


ERROR
-----------------------
[Model] does not have a child with id [123456]
oracle.apps.cz.cio.NoSuchChildException: [Model] does not have a child with id [123456]
at oracle.apps.cz.cio.RuntimeNode.getChildByPersistentID(RuntimeNode.java:1073)
at oracle.apps.cz.cio.RuntimeNode.getChildByPersistentID(RuntimeNode.java:1028)
at oracle.apps.cz.service.CIOConfiguratorService.getChild(CIOConfiguratorService.java:2372)
[...]


STEPS
-----------------------
The following test case should be able to reproduce this error:

1. Create two models, using “Parent Model” and “Child Model” for example purposes.
2. Edit “Child Model”, navigate to structure and create a component.
3. Set the new component as follows, with Multiple or Variable instance with minimum 1 and maximum N (Chose 10 randomly)
4. Finish, and create a new UI for “Child Model”. Used “Step-By-Step Navigation”, but created empty UI.
5. On Page-1 of the new UI, create a custom button with the following setup. Chosen node set as the recently created “Child Component”, action defined as “Add Instance”. This will now add instances of our child component. This also works with a model rather than a component and similar settings.
6. Add a Instance List Layout Region – Table. Set associated model node as “Child Component”.
7. Create a Styled Text for the Component Row of the instance list created in step 6.
8. The final “Child Model” UI should look like the following at this point:
9. Navigate back to “Parent Model” and create a Model Reference to the “Child Model” in the structure tab. No additional options were set. Parent model structure at this point:
10. Create a new UI for “Parent Model”. Used the same setup as step 4, step-by-step but creating blank UI.
11. In the newly created UI, create one page include region on page 1 referencing the Child Model.
12. The Parent Model UI should now look like the following:
13. Generate logic on child and parent. Then, select “Test Model” on the Parent Model.
14. Error occurs

Cause

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 hundreds of Community platforms