I have another project I've inherited from an agency that is somewhat of a mess. I'm finishing up a migration from 4.0.2 - 4.11.4 and I have one outstanding issue. There is an API call to PublishWithSubs, something I've never used before - is it still relevant?
The API call is resulting in the following exception:
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
This will all be refactored in time but for now I just need to get the site back online so refactoring the minimum required at present.
Yeah, I ran into the same issue this morning and it looks like the PublishWithSubs method is broken - we are using Umbraco 4.11.8. The line that is supposed to insert data into the database is missing the updateDate value:
Document PublishWithSubs Call Throwing Exception
I have another project I've inherited from an agency that is somewhat of a mess. I'm finishing up a migration from 4.0.2 - 4.11.4 and I have one outstanding issue. There is an API call to PublishWithSubs, something I've never used before - is it still relevant?
The API call is resulting in the following exception:
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
This will all be refactored in time but for now I just need to get the site back online so refactoring the minimum required at present.
Thanks
Yeah, I ran into the same issue this morning and it looks like the PublishWithSubs method is broken - we are using Umbraco 4.11.8. The line that is supposed to insert data into the database is missing the updateDate value:
Specifically
I will submit a bug.
Quick update - issue submitted, but in the meantime you can use PublishWithChildrenWithResult instead of PublishWithSubs.
Hope this helps.
is working on a reply...