Repository tools command to correct rows in the version table that have an invalid value for the previous configuration
Use the repairVersionsWithPrevConfigIdValueAsNullA or onlineRepairVersionsWithPrevConfigIdValueAsNullA command to update any invalid values in the version table that indicate no earlier configuration is available.
Purpose
Earlier versions of the application might have add rows in the version table that contain incorrect value that is intended to indicate that configuration does not exist for the row. The incorrect values might result in errors when accessing the history of certain artifacts when the configuration management is enabled. These commands correct such incorrect values.
The command reports the number of rows that are corrected after the command runs successfully.
The server must be running when you run the onlineRepairVersionsWithPrevConfigIdValueAsNullA command.
You can run either of the commands. You do not need to run both the commands.
Parameters
Following are the parameters for the repairVersionsWithPrevConfigIdValueAsNullA command:
Attribute | Description | Required | Default |
---|---|---|---|
teamserver.properties | Path to the teamserver.properties file. | No | conf/rm/teamserver.properties |
logFile | Path to the log file. | No | repotools-rm_repairVersionsWithPrevConfigIdValueAsNullA.log |
Following are the parameters for the onlineRepairVersionsWithPrevConfigIdValueAsNullA command:
Attribute | Description | Required | Default |
---|---|---|---|
repositoryURL | The connection URL for the server. | No | https://localhost:9443/application where application is rm. |
adminUserId | Administrative user ID to login to the server. | No | ADMIN |
adminPassword | Administrative user password to login to the server. | No | ADMIN |
credentialsFile | The file containing the administrative user login credentials. | No | credentials.properties |
certificateFile | The file containing the administrative user login certificate. | No | none |
smartCard | The alias to login using a smart card, or? to list available aliases. | No | none |
kerberos | Authenticate with Windows user credentials using Kerberos/SPNEGO by setting to true. Or authenticate with Windows Integrated Authentication by setting to windows. | No | None |
logFile | Path to the log file. | No | repotools-rm_onlineRepairVersionsWithPrevConfigIdValueAsNullA.log |