directus/v6-archive

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

開放

#36 建立於 2018年10月25日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (4 個分叉)auto 404
4. MinorInterfacebughelp wantedv6

倉庫指標

星標
 (2 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南