Purpose (problem description)

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

Observed in CAST AIP
Observed on RDBMS

Step by Step scenario

  1. Take snapshot
  2. Open CED and observe that the violation is missing
Action Plan

Perform the below actions

  1. 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 example
    Query result interpretation
     The query returns the id of the object
  2. Check 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:

    1. Install the following procedures on the knowledge schema: DIA_GENPATH_COPYPASTE.sql, diag_scope_ncopypaste.sql

    2. Compute a snapshot by skipping analysis.

    Note that this bug is fixed in Cast AIP 8.2.11.
  3. If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input 



Ticket # 10663

Related Pages

Specify pages indirectly related to this topic.(eg:side- effects)