Field name inconsistencies and not updating correctly #508
Labels
issue: enhancement
Issue suggesting an enhancement to an existing feature
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Node.js version: 8.9.0
npm version: 5.5.1
Strapi version: 3.0.0-alpha.8.3
Operating system: Windows 7 (Enterprise)
Hi, I created a Post content type and added a String field with a name of "Title". There are inconsistencies as to how this is then used and displayed. For example, the key is stored as "Title" in MongoDB and the API also returns this capitalised key. I believe that the case of all field names should be adjusted to lowercase before storing in Mongo and simply capitalise these strings when rendering in the UI.
Also, once I realised this, I edited the field name to change it lowercase and now my collection in Mongo contains two "title" ("Title" and "title") fields which is incorrect, it should have updated the existing key.
Thanks.
The text was updated successfully, but these errors were encountered: