Duplicate SmartForm Environment Library Fields in P&D
kbt167858
PRODUCTIssue
When attempting to deploy a package via the package and deployment tool, the initial analysis phase appears to be fine. The initial deployment fails with an error in relation to the Smartforms Runtime environment library field.
If you go into the environment library you will see that a newly created Smartforms URL has been created with exactly the same name as the original Smartform Runtime URL after this deployment, which may cause conflicts. This should not happen if the option within the package and deployment tool chosen is "Use Existing" in regards to the environment library field.
Symptoms
The error that can be seen here is the following:
Troubleshooting Steps
It appears that this issue may occur after performing an upgrade to another version of K2 such as 5.1 or 5.2.
The way to workaround this issue would be to remove the duplicate entry from the environment fields.
The best way to do this would be via the K2 Management page > Environment Library > development or production (depending on which environment) and from here remove the duplicate SmartForms runtime URL. After this has been completed you should be able to deploy the package successfully.