Im on 7.15.3 and trying to upgrade a MultiNodeTreePicker (obsolete) too MultiNodeTreePicker2. but when doing so all the data gets erased on the properties that use the datatype.
I have tried republishing entire set and this does not work it seems to be completely gone from the db?
Image is a history of the specific property 655 is before change. 656 is after republish. 657 is after a rollback i believe? 658 is again after a republish.
This is because the MNTP2 stores data in a different way. So after you change it and then try to get a node it doesn't know how to display it so you don't see anything. Then you press save it stores the field which is empty.https://gist.github.com/kiasyn/bb067269d97a37f76e9a0f8743972837 if you put that method into your'e startup it will patch the data.
Im aware of the different formats.
i Just assumed it would have been automatic like with the MediaPicker to MediaPicker2
Are you saying its not automatic with multinodetreepicker? and i have to manually convert from id to the new format e.g (umb://document/b0de279a563349869da89de165102a7a) (the name escapes me)
MultiNodeTreePicker Upgrade
Im on 7.15.3 and trying to upgrade a MultiNodeTreePicker (obsolete) too MultiNodeTreePicker2. but when doing so all the data gets erased on the properties that use the datatype.
I have tried republishing entire set and this does not work it seems to be completely gone from the db?
Image is a history of the specific property 655 is before change. 656 is after republish. 657 is after a rollback i believe? 658 is again after a republish.
Hi,
This is because the MNTP2 stores data in a different way. So after you change it and then try to get a node it doesn't know how to display it so you don't see anything. Then you press save it stores the field which is empty.https://gist.github.com/kiasyn/bb067269d97a37f76e9a0f8743972837 if you put that method into your'e startup it will patch the data.
-Joep
Im aware of the different formats. i Just assumed it would have been automatic like with the MediaPicker to MediaPicker2
Are you saying its not automatic with multinodetreepicker? and i have to manually convert from id to the new format e.g (umb://document/b0de279a563349869da89de165102a7a) (the name escapes me)
Hi,
Yeah I had too migrate it myself aswell.
-Joep
Thanks. Accidentally marked wrong thing as solution will rectify if possible
is working on a reply...