You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
I added some rows to a table via the API where the ID (data type is VARCHAR) is of the pattern [a-z]-[a-z0-9].[a-z]. When I view it on the table page it looks fine, but when I open the page, the ID is truncated at the period. If I save, it will save it as a new row (because the ID is different). But even when I edit the ID to make it match again, it still truncates at the period and saves it as a new row.
Version Info
Directus version and branch (Or commit hash): 6.4.9
PHP version: 7.1.17
MySQL version: Ver 14.14 Distrib 5.5.60, for debian-linux-gnu (x86_64) using readline 6.3
OS name and version: Debian GNU/Linux 8 (jessie)
Expected Behavior
ID should stay:
xxxxx-b827ebefb215.xxxx
Actual Behavior
Instead it saves as:
xxxxx-b827ebefb215
Steps to Reproduce
Create table with ID of type VARCHAR (make visible, set length to 50 or something)
Add row via API with ID with pattern abc-abc123.abc
View in table. check id value
Edit via form. check id value. ID should be truncated.
Change ID to be the proper value and hit save.
Now you should have two entries in your table. One with normal ID and one with truncated ID.
The text was updated successfully, but these errors were encountered:
From directus created by bensteers : directus/directus#2171
I added some rows to a table via the API where the ID (data type is VARCHAR) is of the pattern
[a-z]-[a-z0-9].[a-z]
. When I view it on the table page it looks fine, but when I open the page, the ID is truncated at the period. If I save, it will save it as a new row (because the ID is different). But even when I edit the ID to make it match again, it still truncates at the period and saves it as a new row.Version Info
Expected Behavior
ID should stay:
xxxxx-b827ebefb215.xxxx
Actual Behavior
Instead it saves as:
xxxxx-b827ebefb215
Steps to Reproduce
The text was updated successfully, but these errors were encountered: