Text and textarea fields are imported as text ‘true’ instead of ‘1’ during a JSON import of objects

Description

JSON sample on a Object of a type named “Example”:

Here’s the scenario:

  • I am on the screen for importing an object.

  • I select the format “JSON” and enter my sample JSON file as “File”. I then click on “Next step”

  • The fields “Indent” and “Encoding” are not changed and I click on “Next step”.

  • I select the type “Example” and click on “Next step”.

  • The fields “Start element” and “Max element” as well as “Overwrite Public ID” are not changed and I click on “Next step”

  • Then I click on the button “Start import”. The message “Import success!”

  • I click on the button “view list” and open the data set I have just imported.

  • The field with the specification “1” is now displayed with “true”. Here I expect a “1” and not “true”.

source: https://community.datagerry.com/t/text-and-textarea-fields-are-imported-as-text-true-instead-of-1-during-a-json-import-of-objects/280

Environment

None

Activity

Show:
sergej.dumler@nethinks.com
March 23, 2021, 12:24 PM

TODO: Cherry pick

Done

Assignee

sergej.dumler@nethinks.com

Reporter

sergej.dumler@nethinks.com

Labels

Tester

None

Sprint

None

Fix versions

Affects versions

Priority

Medium