terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Adding tags with leading number(s) will fail #10

Closed saress closed 5 years ago

saress commented 5 years ago

I've tried to add some new content-node tags and run into a problem.

An exception occurred while executing 'INSERT INTO tl_cfg_tag_node (node_id,cfg_tag_id) VALUES ('38', '4-3s')': SQLSTATE[01000]: Warning: 1265 Data truncated for column 'cfg_tag_id' at row 1

I added something like this: 4-3s, but I also tried 2-grid etc. Seems, that leading numbers cause some insert problems.

Best regards, Sares

qzminski commented 5 years ago

This bug is strictly related to https://github.com/codefog/tags-bundle

I will open an issue in that repository where it belongs.