ACE07: Same File in Different Components

AdminStudio 2022 | 23.0 | Application Manager

Edition:This test is included in the AdminStudio Professional and Enterprise Editions.

ACE07 checks for the existence of the same file in components with different ComponentIds.

Test Group/Test Category

Application Conflicts/Package Data Conflicts/Files

Severity and Messages

ACE07 reports four types of errors, depending on the various combinations of source and target files and whether they originated in a merge module:

Four Types of ACE07 Errors

Source File

Target File

Severity

CARD-Enabled

Message

Not Merge Module

Merge Module

Warning

No

The file [FILENAME] in the component [COMPONENTNAME] in the package [PACKAGENAME] is identical to the merge module installed file in the component [COMPONENTNAME] in the package [PACKAGENAME]. Confirm this error by running this package against ACE12.

Not Merge Module

Not Merge Module

Error

Yes

The file [FILENAME] is identical in both the component [COMPONENTNAME] in the package [PACKAGENAME] and the component [COMPONENTNAME] in the package [PACKAGENAME], but the components have different GUIDs.

Merge Module

Merge Module

Error

No

The file [FILENAME] is identical and installed by merge modules in both the component [COMPONENTNAME] in the package [PACKAGENAME] and the component [COMPONENTNAME] in the package [PACKAGENAME], but the components have different GUIDs. Run ACE12 to determine which merge module is most appropriate to use.

Merge Module

Not Merge Module

Error

No

The file [FILE_NAME] in the merge module installed component [COMPONENT_NAME] in the package [PACKAGE_NAME] is identical to the file in the component [COMPONENT_NAME] in the package [PACKAGE_NAME]. Confirm this error by running the [PACKAGE_NAME] package against the ACE12.

Background

ACE07 reports four types of errors, depending on the various combinations of source and target files and whether or not they originated in a merge module.

Resolutions

Manual Fix

If both the source and target files did not originate in a Merge Module, confirm the error by running the package against ACE12 and then, based upon the results, decide how to proceed.

Automatic Fix (CARD07)

If both the source and target files originated in a Merge Module, you can use CARD07 to resolve the issue. CARD07 changes the ComponentId value of the source package to match that of the target package. To do this, CARD07 runs the following query against the source package and then updates the ComponentId value with the ComponentId value from the target package:

SELECT `ComponentId` FROM `Component` WHERE

     Component` = 'Source Package ComponentId'

See Also