Lbyproc Deployment Rollback Error When Using a Filter (Doc ID 2126439.1)

Last updated on APRIL 18, 2016

Applies to:

Oracle Documaker - Version 12.4 to 12.4 [Release 12]
Information in this document applies to any platform.

Symptoms

Documaker 12.4, Development Tools

When using the LBYPROC ROLLBACK feature with a FILTER, depending on the SRC= setting in the <ROLLBACK><LIBRARY> group,
EITHER: the filter is ignored and all resources in the library are rolled back
OR: the filter is recognized but no rollback occurs due to the error: "Error: Unable to LBYRegisterLib <>."

FOR EXAMPLE (using a snippet of the script):
<ROLLBACK>
<LIBRARY SRC="" TGT="D:\Test\LBYPROC\Library_1\MASTER.LBY"/>

The TGT= value is constant and doesn't change.  The result of running the script is dependent on the SRC= value.

1) The SRC= value, if left null, will accurately search on any <FILTER> values but will cause this error: "Error: Unable to LBYRegisterLib <>." and no resources are rolled back.
    In this case, the SRC library would have been provided in the <FILTER><LIBRARY VALUE="D:\Test\LBYPROC\Library_2\master.lby"/> group.
2) The SRC= value, if provided a value (a library), will ROLLBACK every resource in the library, effectively ignoring the values in the <FILTER> group.

It is expected that the ROLLBACK would apply the FILTER and roll back only the appropriate resources based on that FILTER.

Changes

 Other than modifying the ROLLBACK script to test the two different scenarios, no other changes took place.

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