directus/v6-archive

Unable to select 'User' in User Interface type after an table import

Offen

#36 geöffnet am 25.10.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4 Forks)auto 404
4. MinorInterfacebughelp wantedv6

Repository-Metriken

Stars
 (2 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

From directus created by spawnrider : directus/directus#2084

Version Info

  • Directus version and branch: Using Directus Docker 6.4 version
  • PHP version: 7.1.2
  • MySQL version: 5.5
  • Web server: Apache
  • OS name and version: Windows 10

Expected Behavior

I imported an table from another environment. I want to manage it on Directus. This table contains a column of type INT(11). This column was of "User" User interface type on the source environment. It would be also of "User" type on this environment.

Actual Behavior

On this environment, the type is NUMERIC and cannot be switch back to "User".

Steps to Reproduce

  1. Create a table with "User" field of type "User" on an environment
  2. Copy this table using SQL / PhpMyAdmin to another environment
  3. Manage this table on this new environment.
  4. The "User" field is now of type "NUMERIC" and not "User".

Schema Dump, Logs, or Screenshots

directus_user_issue

Contributor Guide