Thursday, August 6, 2009

Region and dialog return bug

I create a simple application with Departments and Jobs entities and view objects.

I put Departments as a simple form in a page and Jobs as a simple form in a page fragment and task flow that i add as a Region in the first page. I also create a dummy dialog with a return button.


But when i return from dialog and try to navigate inside the region i get the following error:



java.lang.IllegalStateException: ADF_FACES-60058:Attempt to re-register component with different model. at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:256) at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:161) at oracle.adf.view.rich.activedata.ActiveComponentContext.popActiveComponent(ActiveComponentContext.java:371) at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1191) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335) at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751) at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)

After that the page is no longer functional.

Is this a bug?

Test case:
http://adfbugs.googlecode.com/files/RegionAndDialogTest.zip

P.s. This bug was found by 2 female colegues (Roula and Nota) in our application. It was working befor r1 of jdev11.

4 comments:

  1. filed bug# 8809189 for tracking with your testcase, thanks.

    ReplyDelete
  2. I looked at it. The issue is gone with a pretty recent (and internal) build...

    ReplyDelete
  3. I'm using Jdeveloper 11.1.1.2.0 and still have this problem.

    ReplyDelete