olach / kirby3-relationship

Sortable multiselect field for Kirby 3 CMS
MIT License
24 stars 0 forks source link

3.8 errors #16

Closed trych closed 2 years ago

trych commented 2 years ago

Hi there,

I have some issues transitioning this field to a 3.8 site.

First of all, after updating, all the existing entries are shown as blank:

![Bildschirmfoto 2022-11-11 um 00 42 16](https://user-images.githubusercontent.com/9803905/201229828-a3e3c388-ce9d-4947-8fbf-5630469b9458.png)

I think this might be, because they are still saved in the content files in the old style format:

Partners: netzwerk/bezirksamt-hamburg-altona, netzwerk/made-auf-veddel, coop/selina-schlez, coop/maire-cordts

instead of by their UUID?

When I try to add a new entry from the list to the field, I get this error: Bildschirmfoto 2022-11-11 um 00 40 13 Bildschirmfoto 2022-11-11 um 00 40 46

I then tried to add a very generic field (I just copied the sample code from the README with the countries) to the same page and tried that, it gave me the exact same error.

When I downgrade this project again to 3.7.5, then the error disappears. Any idea, what's going on?

Thanks!

olach commented 2 years ago

Thats weird. This issue should be resolved in the latest version of this plugin. I cannot recreate this issue on my end.

Can you please provide me with the following info from your setup so I can track this down:

trych commented 2 years ago

Hi Ola,

sorry, once again the error was sitting in front of the screen. 🤦‍♂️ For some reason the git submodule command did not show me any updates for my plugins, so I was indeed still with the old version. As soon as I updated to 1.0.3 now, it works as intended.

My apologies, I'm a bit overworked and apparently my lack of sleep is beginning to show.

Thanks again for the plugin!

olach commented 2 years ago

No worries! It can happen the best of us. Been there, done that. :)