I have an umbraco 6.1.6 site with uSync 1.6.0 installed. We have a single document type that ends up with duplicate properties when we suck in with uSync.
This is the uSync representation of the document type I'm having trouble with.
<DocumentType>
<Info>
<Name>Benefits Tile</Name>
<Alias>BenefitsTile</Alias>
<Icon>nitros.gif</Icon>
<Thumbnail>developer.png</Thumbnail>
<Description>
</Description>
<AllowAtRoot>False</AllowAtRoot>
<Master>cComponent</Master>
<AllowedTemplates>
<Template>cBenefitsWide</Template>
<Template>cBenefits</Template>
</AllowedTemplates>
<DefaultTemplate>cBenefits</DefaultTemplate>
</Info>
<Structure>
<DocumentType>cContent</DocumentType>
</Structure>
<GenericProperties>
<GenericProperty>
<Name>Internal Link</Name>
<Alias>internalLink</Alias>
<Type>158aa029-24ed-4948-939e-c3da209e5fba</Type>
<Definition>a6857c73-d6e9-480c-b6e6-f15f6ad11125</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[If you add a content section, the internal link is IGNORED]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Full Width</Name>
<Alias>fullWidth</Alias>
<Type>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</Type>
<Definition>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>External Link</Name>
<Alias>externalLink</Alias>
<Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
<Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[If there is text here, the internal link is IGNORED. IF you add a content section, both fields will be IGNORED.]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Image</Name>
<Alias>image</Alias>
<Type>ead69342-f06d-4253-83ac-28000225583b</Type>
<Definition>93929b9a-93a2-4e2a-b239-d99334440a59</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Title</Name>
<Alias>title</Alias>
<Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
<Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Title</Name>
<Alias>title2</Alias>
<Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
<Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Description</Name>
<Alias>description2</Alias>
<Type>5e9b75ae-face-41c8-b47e-5f4b0fd82f83</Type>
<Definition>ca90c950-0aff-4e72-b976-a30b1ac57dad</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Description</Name>
<Alias>description</Alias>
<Type>ec15c1e5-9d90-422a-aa52-4f7622c63bea</Type>
<Definition>0cc0eba1-9960-42c9-bf9b-60e150b429ae</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Color</Name>
<Alias>color2</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>ea8ffedd-7493-4d52-97b7-00dd64fe746a</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Color</Name>
<Alias>color</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>ea8ffedd-7493-4d52-97b7-00dd64fe746a</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Position</Name>
<Alias>positionFloat</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>4d90f0f8-1b72-4c77-a8ad-0efefb73a31d</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[Would you like the text to be positioned on the left, right, or be centered(default)]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Position</Name>
<Alias>positionFloat2</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>4d90f0f8-1b72-4c77-a8ad-0efefb73a31d</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Position</Name>
<Alias>positionVert2</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>0dac8a6f-e5e8-4894-ae59-4c809d93ff68</Definition>
<Tab>Rollover</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
<GenericProperty>
<Name>Position</Name>
<Alias>positionVert</Alias>
<Type>a52c7c1c-c330-476e-8605-d63d3b84b6a6</Type>
<Definition>0dac8a6f-e5e8-4894-ae59-4c809d93ff68</Definition>
<Tab>Content</Tab>
<Mandatory>False</Mandatory>
<Validation>
</Validation>
<Description><![CDATA[]]></Description>
</GenericProperty>
</GenericProperties>
<Tabs>
<Tab>
<Id>110</Id>
<Caption>Content</Caption>
</Tab>
<Tab>
<Id>111</Id>
<Caption>Rollover</Caption>
</Tab>
</Tabs>
</DocumentType>
The document type has two tabs. The first is called Content. The second is called Rollover. The first property on the Content tab is called "Full Width". When I suck in with uSync, I get an exact duplicate of the "Full Width" property at the bottom of the Content tab. Because of the duplicated property, we aren't able to edit the node in the backoffice. We get YSOD errors like this:
Multiple controls with the same ID 'prop_fullWidth' were found. FindControl requires that controls have unique IDs.
Anyone seen anything like this? We use uSync quite a bit on a lot of sites and this one is new to us. I'm not seeing any errors in the logs.
I also thought I'd add that the parent document types don't have any properties. There are no inherited properties or tabs on this document type that we are having trouble with.
can you just confirm the version of jumps.umbraco.usync.dll you have ? It might give me a place to start looking to see if there's any pointers in the code.
It is definitely 1.6.0. I figured out how to resolve the problem the other day. Something must have been corrupted in the database. I'm sorry I couldn't get more details on exactly what happened.
Here is how I fixed the problem:
Sucked in with uSync
Deleted the duplicate property at the bottom
Drag the original property at the top to change its sort order. When I did this, it tried to teleport to the bottom where the old duplicate property was. Once it finished its nonsense, I was able to drag it back to the top. In addition, it changed its name and alias from "fullWidth" to "fullWIdth" at this time. I assume that something in the DB was slightly corrupted to cause this.
After changing the sort order and fixing the name and alias, everything was back in order. Whatever happened to that property was resolved.
Duplicated properties
I have an umbraco 6.1.6 site with uSync 1.6.0 installed. We have a single document type that ends up with duplicate properties when we suck in with uSync.
This is the uSync representation of the document type I'm having trouble with.
The document type has two tabs. The first is called Content. The second is called Rollover. The first property on the Content tab is called "Full Width". When I suck in with uSync, I get an exact duplicate of the "Full Width" property at the bottom of the Content tab. Because of the duplicated property, we aren't able to edit the node in the backoffice. We get YSOD errors like this:
Anyone seen anything like this? We use uSync quite a bit on a lot of sites and this one is new to us. I'm not seeing any errors in the logs.
I also thought I'd add that the parent document types don't have any properties. There are no inherited properties or tabs on this document type that we are having trouble with.
Hi Mark,
I can't say i've ever seen this before !
can you just confirm the version of jumps.umbraco.usync.dll you have ? It might give me a place to start looking to see if there's any pointers in the code.
It is definitely 1.6.0. I figured out how to resolve the problem the other day. Something must have been corrupted in the database. I'm sorry I couldn't get more details on exactly what happened.
Here is how I fixed the problem:
After changing the sort order and fixing the name and alias, everything was back in order. Whatever happened to that property was resolved.
is working on a reply...