search cancel

Unable to edit Blueprint - BLP-1000 : An error occurred while copying the blueprint. Message: blp.invalidVisual

book

Article ID: 255028

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Unable to edit Blueprints in 16.1.0 which were editable in the previous version (16.0.0)

Environment

Release : 16.1.0

Cause

STEPS TO REPRODUCE
1. Login to a 16.0.0 machine 
2. Navigate to MUX - Administration - Blueprints 
3. Create a new Blueprint from any object and Edit
4. Navigate to Modules and Create a new channel
5. Publish the Blueprint
6. Navigate back to the Blueprint and Edit again
7. Delete the Channel
8. Publish 
9. Try editing the Blueprint again
Actual and Expected: The Blueprint can be edited
10. Upgrade this environment to 16.1.0
11. Login to this 16.1.0 env and navigate to Blueprints
12. Click on the Blueprint created in Step #3 
13. Click Edit

Expected: The Blueprint can be edited like v16.0.0
Actual: The Blueprint throws the below error
BLP-1000 : An error occurred while copying the blueprint. Message: blp.invalidVisual

Work Around: Create a copy of the problematic Blueprint 

In 16.0.0, when a Channel is deleted, it creates an orphan record in blp_blueprint_visuals. 
select * from blp_blueprint_visuals where available_visual_id not in (select id from blp_available_visuals)
However the validation is escaped in 16.0.0 but its caught in 16.1.0.
The orphan records are not happening in 16.1.0 after the fix (DE66891)

Resolution

No new orphan records will be created in 16.1.0 but the existing orphans will have to be cleaned up and is being worked upon by Engineering - DE67510