Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

Exporting fails - when site is using grid style attributes with pre-values. #71

Closed loriRyanp closed 3 years ago

loriRyanp commented 3 years ago

After upgrading I am having a lot of problems exporting content. I keep getting the following Any help in how to resolve would be most welcome. Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'sections[0].rows[1].styles.background-color'. at Newtonsoft.Json.JsonReader.ReadAsString() in //Src/Newtonsoft.Json/JsonReader.cs:line 500 at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) in //Src/Newtonsoft.Json/JsonReader.cs:line 1219 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) in //Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs:line 1435 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) in //Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs:line 545 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) in //Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs:line 196 at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) in //Src/Newtonsoft.Json/JsonSerializer.cs:line 907 at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer) in /_/Src/Newtonsoft.Json/Linq/JToken.cs:line 2070

KevinJump commented 3 years ago

Hi, I'll take a look at that,

Can you confirm the version of uSync/ContentEdition and uSync.Complete you have installed. ? and is this an export from the uSync dashboard. or the exporter or during a publish.

loriRyanp commented 3 years ago

Hi Kevin Its happening on both when I go to publish a page via the tree node or from the exporter. uSync.Complete 8.8.0 Usync 8.7.2

KevinJump commented 3 years ago

Hi,

can you share your grid style settings - i suspect its in there just want to make sure i have the same setup.

KevinJump commented 3 years ago

also if you can locate the .config file in the usync\v8 folder for the problem content that would be a great help (feel free to email me that file if you don't want to share it kevin@jumoo.co.uk)

loriRyanp commented 3 years ago

Thats sent also just got the following No Step alias? - Increment your ClientDependency version? Parameter name: StepAlias

KevinJump commented 3 years ago

I suspect that error is related.

KevinJump commented 3 years ago

Hi, we have a fix for this. its actually in the uSync element, we can ship a quick fix for this (it will be an update of uSync.ContentEdition) - are you using nuget for your site, or will you need a package/dll ?

loriRyanp commented 3 years ago

Nuget please thank you so much for the quick turn around.

From: Kevin Jump notifications@github.com Sent: Tuesday 17 November 2020 17:23 To: Jumoo/uSync.Complete.Issues uSync.Complete.Issues@noreply.github.com Cc: Lori Ryan lori.ryan@progress.ie; Author author@noreply.github.com Subject: Re: [Jumoo/uSync.Complete.Issues] Exporting (#71)

Caution: This email originated from outside of Progress Systems. Do not click links or open attachments unless you recognise the sender and know that the content is safe.

Hi, we have a fix for this. its actually in the uSync element, we can ship a quick fix for this (it will be an update of uSync.ContentEdition) - are you using nuget for your site, or will you need a package/dll ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/71#issuecomment-729078600, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOIOEBGQIH4GZ5GH6POTT7LSQKWPJANCNFSM4TYXTYFQ.

The information in this e-mail and any attachments is proprietary and/or confidential. Unless you are the intended recipient or his/her representative you are not authorised to, and must not, read, copy, distribute, use or retain this message or any part of it. If you are not the intended recipient, please notify the sender immediately, delete the material from any system and destroy any copies. Communications to/from Progress Systems Limited are monitored and are subject to archiving and review by persons other than the intended recipient. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the opening, use or onward transmission of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by any member of Progress Systems Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Progress Systems Limited is not liable for any personal views of the sender.

Progress Systems Limited | Company Reg. No. 193329 | Registered address: 163 Lower Kimmage Road, Kimmage, Dublin 6W, D6W F512, Ireland. Progress Software Systems Limited | Company Reg. No. 06032993 | Registered address: 960 Capability Green, Luton, LU1 3PE, United Kingdom.

KevinJump commented 3 years ago

Hi, publishing the patch version now :

Release for content edition is: 8.7.2.1 https://www.nuget.org/packages/uSync.ContentEdition/8.7.2.1

update-package uSync.ContentEdition -version 8.7.2.1 -FileConflictAction Ignore
loriRyanp commented 3 years ago

Hi Kevin Sorry just tried Unable to resolve dependencies. 'uSync 8.7.2' is not compatible with 'uSync.ContentEdition 8.7.2.1 constraint: uSync (>= 8.7.2.1)

From: Kevin Jump notifications@github.com Sent: Tuesday 17 November 2020 17:32 To: Jumoo/uSync.Complete.Issues uSync.Complete.Issues@noreply.github.com Cc: Lori Ryan lori.ryan@progress.ie; Author author@noreply.github.com Subject: Re: [Jumoo/uSync.Complete.Issues] Exporting fails - when site is using grid style attributes with pre-values. (#71)

Caution: This email originated from outside of Progress Systems. Do not click links or open attachments unless you recognise the sender and know that the content is safe.

Hi, publishing the patch version now :

Release for content edition is: 8.7.2.1 https://www.nuget.org/packages/uSync.ContentEdition/8.7.2.1

update-package uSync.ContentEdition -version 8.7.2.1 -FileConflictAction Ignore

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/71#issuecomment-729084046, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOIOEBFIJUI2WDGUGFZZRW3SQKXRTANCNFSM4TYXTYFQ.

The information in this e-mail and any attachments is proprietary and/or confidential. Unless you are the intended recipient or his/her representative you are not authorised to, and must not, read, copy, distribute, use or retain this message or any part of it. If you are not the intended recipient, please notify the sender immediately, delete the material from any system and destroy any copies. Communications to/from Progress Systems Limited are monitored and are subject to archiving and review by persons other than the intended recipient. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the opening, use or onward transmission of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by any member of Progress Systems Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Progress Systems Limited is not liable for any personal views of the sender.

Progress Systems Limited | Company Reg. No. 193329 | Registered address: 163 Lower Kimmage Road, Kimmage, Dublin 6W, D6W F512, Ireland. Progress Software Systems Limited | Company Reg. No. 06032993 | Registered address: 960 Capability Green, Luton, LU1 3PE, United Kingdom.

KevinJump commented 3 years ago

Ahh yeah that's my fault the build process ups the other dependencies if i don't tell it not to..

v8.7.2.2 should work. 🤞

update-package uSync.ContentEdition -version 8.7.2.2 -FileConflictAction Ignore
loriRyanp commented 3 years ago

No worries – thanks again Any place I pop some dough to get you a coffee?

From: Kevin Jump notifications@github.com Sent: Tuesday 17 November 2020 17:56 To: Jumoo/uSync.Complete.Issues uSync.Complete.Issues@noreply.github.com Cc: Lori Ryan lori.ryan@progress.ie; Author author@noreply.github.com Subject: Re: [Jumoo/uSync.Complete.Issues] Exporting fails - when site is using grid style attributes with pre-values. (#71)

Caution: This email originated from outside of Progress Systems. Do not click links or open attachments unless you recognise the sender and know that the content is safe.

Ahh yeah that's my fault the build process ups the other dependencies if i don't tell it not to..

v8.7.2.2 should work. 🤞

update-package uSync.ContentEdition -version 8.7.2.2 -FileConflictAction Ignore

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/71#issuecomment-729099316, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOIOEBDBYDO57W44V5K2VTTSQK2LRANCNFSM4TYXTYFQ.

The information in this e-mail and any attachments is proprietary and/or confidential. Unless you are the intended recipient or his/her representative you are not authorised to, and must not, read, copy, distribute, use or retain this message or any part of it. If you are not the intended recipient, please notify the sender immediately, delete the material from any system and destroy any copies. Communications to/from Progress Systems Limited are monitored and are subject to archiving and review by persons other than the intended recipient. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the opening, use or onward transmission of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by any member of Progress Systems Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Progress Systems Limited is not liable for any personal views of the sender.

Progress Systems Limited | Company Reg. No. 193329 | Registered address: 163 Lower Kimmage Road, Kimmage, Dublin 6W, D6W F512, Ireland. Progress Software Systems Limited | Company Reg. No. 06032993 | Registered address: 960 Capability Green, Luton, LU1 3PE, United Kingdom.