Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a site I inherited and is running Umbraco v6.2.6 & uComponents v6.1.1.
I don't see this behavior locally but remotely when a new value is selected it appears as expected besides the textbox. However, when the page is saved or published the selected items disappears. If you inspect the DOM you can see the following:
<div class="xpath-auto-complete" data-xpath-autocomplete-id="6905F13E-829D-4827-9B9F-72D5A00E7A9E" data-datatype-definition-id="1196" data-current-id="13474" data-type="c66ba18e-eaf3-4cff-8a22-41b16d66a972" data-min-length="1" data-max-items="0" data-allow-duplicates="False">
<ul class="propertypane ui-sortable"/>
<input name="ctl00$body$prop_dayAccommodation$AutoCompleteTextBox" type="text" id="body_prop_dayAccommodation_AutoCompleteTextBox" class="umbEditorTextField ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">
<input type="hidden" name="ctl00$body$prop_dayAccommodation$SelectedItems" id="body_prop_dayAccommodation_SelectedItems" value="<XPathAutoComplete Type="c66ba18e-eaf3-4cff-8a22-41b16d66a972">
<Item Text="Ijen Resort & Villas" Value="45711" />
<span id="body_prop_dayAccommodation_ctl02" style="visibility:hidden;"/>
So as you can see the value is added to the hidden field but is not added to the <ul> which explains why it does not show after the save/publish action.
If I reload the frame nothing changes. If change node and go back the original value is shown again before the last selection was made and published.
I've checked the logs and nothing there and I've checked umbraco.config file and the data has not been updated (as expected). I can confirm that other data changed on the document before the publish action is saved as expected.
Any ideas what might be going on?
Whilst I've not found a solution I HAVE finally found the cause! This is only affecting items with an ampersand in the node name.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted