Skip to main content


 

Symptoms


Suppose you are trying to create a new package using K2 Package and Deployment. You may see the following error when creating new package:

Package and Deployment throws an error “%VIEW_NAME% View is referencing the %PROPERTY_NAME% on the %SMO_NAME% SmartObject that could not be found”.

This error is being reported for view or views whereas there is no such property on the view.
 

Diagnoses


This is known issue with Package and Deployment 4.6.9: When you have a View parameter with the same name as the SmartObject input property the mappings do not work correctly, which should be resolved in 4.6.10.
 

Resolution

General workaround for this issue is to rename the View Parameter so that it does not match with the SmartObject input property.
This should resolve this issue. In case this solution does not work you may try the following. Create “broken” package with the views that could not be packed, ignoring errors. Next access view file within package, change its extension to .xml and search for the property in it. In XML structure within the file you may find which rule or control causes your error.
Please note that in 4.6.9 Package and Deployment checks more thoroughly than previous versions on packaging to prevent errors on deployment stage. For example it checks for dangling references to a SmartObject on a View. But as we can see in this case validation messages not always clear. It is expected that 4.6.10 will improve the validation messages so that they explain more clearly what exactly is wrong.




 
Be the first to reply!

Reply