This page handle the case when an object is not supposed to be violated by the QR "Avoid too many copy pasted artifacts", but the violation is missing
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS |
Step by Step scenario
- Take snapshot
- Open CED and observe that the violation is missing
Perform the below actions
From the knowledge schema, get the Id of the artifact that is similar to the object on which there is violation:
SELECT object_id_2 FROM objects_similarities WHERE object_id_1 IN (SELECT idkey FROM keys WHERE keynam = 'object_name')
Query result example546472Query result interpretationThe query returns the id of the objectCheck if the object is part of a module by following the page SQL Queries - CAST Knowledge Base - Queries on Module - Module content and properties if the similar object is not part of the module then this is a bug, as a Workaround perform the following:
Install the following procedures on the knowledge schema: DIA_GENPATH_COPYPASTE.sql, diag_scope_ncopypaste.sql
Compute a snapshot by skipping analysis.
- If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input
Ticket # 10663
Specify pages indirectly related to this topic.(eg:side- effects)