In UifControllerHelper.prepareViewForRendering Component updateComponent = null. The reason is that for form.getViewPostMetadata()..getComponentPostMetadata(updateComponentId) (updateComponentId = "acal-term-keydates_line0_line0" in our case) we have path = "currentPage.items[1].items[1].items[1].layoutManager.stackedGroupsNoWrapper[1].items[1].group.layoutManager.stackedGroupsNoWrapper[1].items[0].group".

However there is no such property value on view:
ObjectPropertyUtils.getPropertyValue(view = form.getView(), componentPostMetadata.getPath() = path from above) returns nothing.

When I evaluate the view in IntelliJ I can only get up to currentPage.items[1].items[1].items[1].layoutManager.stackedGroupsNoWrapper[1].items[1].group.layoutManager.stackedGroupsNoWrapper[1].items[0] -> there is NO group there.

And the path = "currentPage.items[1].items[1].items[1].layoutManager.stackedGroupsNoWrapper[1].items[2].group"

It does exist in view
((FieldGroup)((GroupBase)((StackedLayoutManagerBase) ((CollectionGroupBase) ((TabGroup) ((TabGroup) ((TabGroup) (view.getCurrentPage().getItems().get(1))).getItems().get(1))).getItems().get(1)).getLayoutManager()).getStackedGroupsNoWrapper().get(1)).getItems().get(2)).getGroup() so returned updateComponent is not null.

Issue Links

discovered by

KSENROLL-12997Awaiting Rice Fix: ACAL term - new Key Date Group is blank

KSENROLL-12648Identify Rice workaround: ACAL term - new Key Date Group is blank