RWS / ISHRemote

Business automation module on top of Tridion Docs Content Manager (Knowledge Center Content Manager, LiveContent Architect, Trisoft InfoShare)
Apache License 2.0
30 stars 13 forks source link

Extend Remove-IshPublicationOutput to always execute -Force parameter starting release 15.1/Alf1 so content object are deleted in full #162

Closed BlackPower closed 1 year ago

BlackPower commented 1 year ago

The Remove-IshPublicationOutput cmdlet fails with the next error:

FAIL  [-102] The publication MYGUID-20230818054512-911 does not exist. [ce:"MYGUID-20230818054512-911"] [102;ObjectNotFound]
[ERROR] FAIL Test.PublicationOutput25-UnreleaseScenario ([-102] The publication MYGUID-20230818054512-911 does not exist. [ce:"MYGUID-20230818054512-911"] [102;ObjectNotFound])

on Tridion Docs 15.1 with the "-Force" parameter as the server logic was changed.

Starting from Tridion Docs 15.1 the server automatically removes Publication (logical level) if the last version is deleted. So, the cmdlet should not delete the logical level for Tridion Docs 15.1.

TODO:

ddemeyer commented 1 year ago

Similar to #138