This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
When packaging a solution, Package & Deployment detects that an item has an issue. If you resolve the issue and click the analyze button, it will not resolve the issue.
You may see an issue like this:
"Error: Item contains errors that will cause deployment failures".
After pressing "Analyze", the issue is still present.
The analyze function will not refresh the validation in the package that it is trying to create.
The reason for this is because the package is already created in memory and once validation is resolved, the package needs to be recreated to rediscover dependencies.
To workaround this issue, close the Package & Deployment tool, and re-run the create package function, and the errors will no longer be there.
Our development team are working on changing this behavior.