Recently, I got the below error while doing the serpush, I got the latest from the master and trying to update my local setup.
[master] Applying changes...
[master] [Batch 1] [[U] /sitecore/content/XXXXX/XXXX/Dev (An error occurred when executing task 'SerPush'.
Error: One or more errors occurred.
Program 'dotnet.exe' failed to run: Input string was not in a correct format.At D:\Dev\XXXX\CakeFiles\Serialization.ps1:63 char:5
+ dotnet sitecore ser push
+ ~~~~~~~~~~~~~~~~~~~~~~~~.
Investigation- I ran the servalfix and got the successful message after that I again ran the serpush command got the same error :(
I was using the cake project and now run the below command directly through the PowerShell (Admin mode)
dotnet sitecore ser push
and got the below message
[master] [Batch 1] [[U] /sitecore/content/XXX/XXX/Dev ({152E5954-E420-4509-A31B-F7BB19DE055D})] UpdateFieldItemCommand Field (ID: {165ED632-7C9E-4555-A39D-8F76A6FA04FD}) received a set value command, but its value was already equal to the value to set. This indicates sending extraneous commands.
[master] [Batch 1] [[U] /sitecore/content/XXX/XXX/Dev ({152E5954-E420-4509-A31B-F7BB19DE055D})] UpdateFieldItemCommand Field (ID: {1D4E9AC1-8BF9-4292-9BCF-3AB8DC677924}) received a set value command, but its value was already equal to the value to set. This indicates sending extraneous commands.
Solution - I have to remove the content manually and re-run the ser push command that resolved the issue for me.
No comments:
Post a Comment