mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
b8c1aeee35
no issue
- When items are parsed from CSV empty values were interpreted as empty strings - ''. Empty strings are always transformed into 'null' values in Ghost's model layer and are much more problematic to validate comparing to plain `null`. Specifically validation was imossible for 'format: date-time' with JSON schema validation through ajv when the value of date property was an empty string
- This behavior resemples one present in Ghost's model layer -
|
||
---|---|---|
.. | ||
empty.csv | ||
multiple-records-with-empty-values.csv | ||
single-column-with-header.csv | ||
two-columns-mapping-header.csv | ||
two-columns-obscure-header.csv | ||
two-columns-with-header.csv |