I am using umbraco 4.7.2 and ucomponents 3.1.0. The xpath dropdownlist is giving me a little issue. When i select an item then save and publish the value i selected is not saved. However if i click save it is saved. No errors in log.
I haven't heard of that issue before. Seems strange that the Save button works, but Publishing doesn't. Wondering if there is anything else at play here?
its a bit of an edge case scenario. Have sent hendy an email gist of it is:
"Its not Node.GetCurrent. Looks like we have discovered edge case for uQuery in cloning site. The cloned site is cloned from site that is not published so the current node you are looking at is not published. It then traverses up the tree and gets the dropdown data from the original site you cloned not the one you are in. So I have updated the code in xpath dropdown so that we get the node id from the query string and if the node factory node is null get the document.
I don't think its clean but it works. Also changes are such that they are isolated so if node is published we follow same old way of doing things. Also from xpathdropdown i am calling overloaded methods becuase uquery stuff no doubt is used elsewhere and I didnt want to possibly break anything that already works."
I have a custom build working as in rush. However I will try and touch base with Hendy and between us come up with patch.
XPath DropDownList issue
I am using umbraco 4.7.2 and ucomponents 3.1.0. The xpath dropdownlist is giving me a little issue. When i select an item then save and publish the value i selected is not saved. However if i click save it is saved. No errors in log.
Anyone else had this issue?
Regards
Ismail
Hi Ismail,
I haven't heard of that issue before. Seems strange that the Save button works, but Publishing doesn't. Wondering if there is anything else at play here?
Cheers, Lee.
lee,
its a bit of an edge case scenario. Have sent hendy an email gist of it is:
"Its not Node.GetCurrent. Looks like we have discovered edge case for uQuery in cloning site. The cloned site is cloned from site that is not published so the current node you are looking at is not published. It then traverses up the tree and gets the dropdown data from the original site you cloned not the one you are in. So I have updated the code in xpath dropdown so that we get the node id from the query string and if the node factory node is null get the document.
I don't think its clean but it works. Also changes are such that they are isolated so if node is published we follow same old way of doing things. Also from xpathdropdown i am calling overloaded methods becuase uquery stuff no doubt is used elsewhere and I didnt want to possibly break anything that already works."
I have a custom build working as in rush. However I will try and touch base with Hendy and between us come up with patch.
Regards
Ismail
is working on a reply...