koillection
koillection copied to clipboard
Can't add list to old items/collections
Hello, thanks for the recent update, the list are really great !
But I have an error when I try to add a list to an item/collections created in 1.3.6, before the update.
The error occurs when I validate the change in the item/collections.

(It works perfectly with new item/collections)
Hello, could you try to activate debug mode and see if you have more details about this error ? (add APP_DEBUG=1 in your docker-compose file like below)
koillection:
image: koillection/koillection
container_name: koillection
restart: unless-stopped
ports:
- 80:80
environment:
- APP_DEBUG=1
- DB_DRIVER=pdo_pgsql (or pdo_mysql)
- DB_NAME=koillection
- DB_HOST=db
- DB_PORT=5432 (3306 for mysql)
- DB_USER=root
- DB_PASSWORD=root
- DB_VERSION=12.2
- PHP_TZ=Europe/Paris
- HTTPS_ENABLED=1
Thanks
I think I found the issue, do you have a "Date" metadata in your item or collection ?
Yes I have (for new and old items). And all my old items have date.
And when I add APP_DEBUG=1 I have this :
(Maybe unrelated)
I published a new release (1.3.8) that should fix the problem
Yes it's works ! Merci !
But... I found another little problem (sorry).
If the value of a list contain special characters, it get removed the next time I edit the item.
My exemple : I have a list that contains :
- Shōnen
- Seinen
- Shōjo
If a add this list to a item, select as value Shōnen, and validate, the value is correctly set ( I see it on the item page). But the next time I edit this item, the value of this list become empty, I need to reselect Shōnen before validating. Same things happens with Shōjo, but not with Seinen. And if I selected Shōnen and Seinen as value, only Shōnen disappears.
(I hope you understand me, English is not my native language, I'm french)
(And if we can reorder element when we edit a list, it would be very great, but I can open another issues for that if it's better for you)
No problem (I'm french too) The issue for special characters should be fixed by the last release (1.3.9) I also included the possibility to reorder choices in select lists
1.3.9 solved the second issue, thanks for your reactivity! But I have a problem with reordering list made before the update.
When I reorder a list made in previous version, the order isn't correctly saved. Exemple with my list (element renamed with number for simplicity) : I have a list with 1,2,3,4,5,6,7,8 I go to the list, reorder element (in any order, one or multiple changement) like this 1,3,5,7,2,4,6,8 When I save the list, it got ordered something like this : 6,8,1,3,5,7,2,4
(It's not very important for me, so if you want, you can close this issue, but I keep my old list if needed for test)