Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
After loading a .SOP file into a retrieved pack record, the system checks if VCS records may cause errors. Generally, collisions may appear during the configuration pack import process.
Their leading cause is that the dependent table or record does not exist in the database.Consider a common use case:
- We have exported the Incident table, child for the Task tablea Business Rule record.
- We import it to the instance without the Task table.
- In this case, the Incident table cannot be created on the target instance, because there is no parent table from which to inherit.
- target instance which has the same Business Rule record updated later, that is, this record is newer.
- The collision is thrown: the target instance has a newer version of this record.
You After that, you can find the erroneous record at the VCS preview log related list (in the in the VCS Preview Log related list of in the VCS Retrieved Pack section). This record has the state = collision and the appropriate Error Text containing records. These records store the error cause . Erroneous records cannot be included in the saved records pack (VCS Records) bound to the retrieved pack that is used for data recovery.
Collisions disposal methods
The idea in the collision fixing process is to try to dispose of collisions in the highest level tables. This method allows removing collisions in the lower-level tables automatically. It can be done about like this:
- Alternative way: you can filter the list by the Table field. The highest-level tables to analyze are, for example, sys_db_table, sys_number, sys_db_column, and some others.
in theMessage field and have the following states:
State | Description |
---|---|
Collision | Record in this state requires user's attention and will not be implemented until the collision is solved. |
Skipped | Record in this state will be ignored while implementing the pack. |
Warning | This state highlights valid records having minor mismatches. Depending on the error, records will be implemented or ignored. |
You can solve some collisions by completing the following steps:
- In the configuration pack you need, scroll down to the Related Lists area and open the VCS Preview Log tab.
- Filter out records in the Good state using the Condition Builder.
- Open a record from the selection.
- Read the text in the Message field to find the error cause.
- Open the corresponding record in the Retrieved Records related list.
Make necessary changes to the retrieved record in the JSON Copy field.
Tip In some cases, especially when the version records need complex fixes, it is preferable to configure the erroneous records on the source instance and try to implement fixed configuration pack once again.
- Click Save or Save and Exit to apply changes.
- Return to the configuration pack record and click Prepare changes.
- Make sure that the VCS Preview Log record state has changed to Good.
- Repeat these steps until all necessary records in the VCS Preview Log are in the Good state.
- When all necessary records in the VCS Preview Log are in the Good state, click Import pack.
Image Added
Note |
---|
If a record can potentially cause multiple collisions, the system will display only the first collision. Process the collision and click Prepare changes to see the next collision caused by this record. |
Collisions cases
Panel |
---|
Collision case 1When installing a configuration pack in the system, some record |
X is added. At the same time, it |
references another record Y in this system and in this configuration pack. |
The Y record that the record |
X is referenced to |
does not exist. |
After loading the pack, a VCS record has the following Message:
Collision solving: The solution is to add the Y record to this configuration pack |
on the source instance. |
Panel |
---|
Collision case 2The record |
X is deleted from the system. At the same time, there is a reference to this record in the configuration pack. |
After loading the pack, a VCS record has the following Message:
Collision solving: The solution is |
to change the X record state to Skipped. |
Panel |
---|
Collision case 3 |
Mismatch in the set of fields while importing records between alike tables. Details:
|
Collision solving:
OR
|
Panel |
---|
Create the same table with the same name in the target instance, with the field number equal to N-1.
In the source instance, perform the export of the table fields into a configuration pack, after that download a .SOP file and unpack it in the target instance.
The result will be a collision thrown, and a message that this object is not valid, any actions on it cannot be taken.
Collision solving:
To solve this collision, create or update the object, excluding attributes missing on the target instance. In the above example, the N-fielded table will be successfully imported to the target instance, where the (N-1)-fielded table is created. But, the fields that exist in the source instance and are not in the target instance will not be created in the target instance. See the schema below.

Collision case 4The records on |
the target instance are newer than in |
the configuration pack to install. It can be determined by the date and time of record creation |
Collision solving:
Export admin needs to initiate a local pack preview. |
Collision-causing records will be marked with the Skipped state. |
The Message is the following:
Collision solving:
OR
|
Panel |
---|
Collision case 5In the configuration pack, a table is to be deleted but |
Collision case 5
A table being deleted from instancecontains records (is not empty) |
. |
Collision |
-causing records will be marked with the Skipped state. |
The Message is the following:
Collision solving:
OR
|
Panel |
---|
Collision case 6A configuration pack contains objects related to the application X. |
The target instance does not have this application installed. The Message is the following:
Collision solving: The solution |
is to |
repack the configuration pack on the source instance in order to add records related to the missing application. |
Panel |
---|
Collision case 7 |
Partial attributes mismatch between instances.
User case description.
Create a table on the source instance, with the field number equal to N.
Create the same table with the same name on the target instance, with the field number equal to N-1.
On the source instance, perform the export of the table fields into a configuration pack, after that, download a .SOP file and unpack it on the target instance.The |
Image Removed
Collision case 8
Thecollision cause is a unique key violation. |
User case description
Details:
|
|
|
|
Collision solving |
The collision solving method is to decide which translation record is more up-to-date.
If an initial record located on the target instance is more up-to-date, then the collision record can be dropped from the configuration pack and not imported.
If a new record being imported is more up-to-date, then this record should be imported, what will cause initial record overwrite:
OR
|
Panel |
---|
Collision case 8The column to be inserted exists on some level of inheritance. Details:
Collision solving: The solution is to change the X record state to Skipped. |
Table of Contents | ||||
---|---|---|---|---|
|
/
Panel |
---|
Related articles |