Some bugs never die. This is true for Active Data Registration error in ADF. Error happens after exporting to Excel or after uploading file and pressing button, tab, etc. as the next action after export or upload was completed. Same error happens when invoking print behavior - Issue with Show Printable Page Behavior in ADF 11g R2 (11.1.2.2.0). This is reproduced across 11g R1 and 11g R2 releases, also with the latest JDeveloper 11g (11.1.2.3.0).
There are various workarounds for this issue - set Page Definition iterator ChangeEventPolicy=none or set ContentDelivery=immediate for the table, etc. There is no single workaround recipe - it all depends on ADF UI complexity.
Sample application - ExcelExportFixSampleApp.zip, contains one task flow with the fragment:
Fragment contains two tabs, first one contains Employees table and Export (to Excel) button with standard ADF export to Excel operation. Second tab is empty, I will use it to switch after export operation is completed:
We export to Excel and press Second Tab - ADF returns active data registration error:
We can fix it by navigating to page definition, and changing ChangeEventPolicy=ppr:
To ChangeEventPolicy=none:
If the same bug will be reproduced in the next ADF release - I will repost it again.
There are various workarounds for this issue - set Page Definition iterator ChangeEventPolicy=none or set ContentDelivery=immediate for the table, etc. There is no single workaround recipe - it all depends on ADF UI complexity.
Sample application - ExcelExportFixSampleApp.zip, contains one task flow with the fragment:
Fragment contains two tabs, first one contains Employees table and Export (to Excel) button with standard ADF export to Excel operation. Second tab is empty, I will use it to switch after export operation is completed:
We export to Excel and press Second Tab - ADF returns active data registration error:
We can fix it by navigating to page definition, and changing ChangeEventPolicy=ppr:
To ChangeEventPolicy=none:
If the same bug will be reproduced in the next ADF release - I will repost it again.





2 comments:
Hi Andrejus,
A bug has been reported for this one, will update after getting information from the dev team.
Thanks,
JC
Sounds cool - thanks a lot !
Andrejus
Post a Comment