0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Naz Gargol 9dcc17a017
🐛 Fixed import for tag without slugs that belongs to a post (#10917)
closes #10785

- The behavior for tags will now be similar to posts' one described in the docs
- "The only strictly required field when importing posts is the title. Ghost will automatically generate slugs and set every other field to the default or empty."
- The breaking change was introduced with: 68d8154d4f (diff-e712df50c0dc7cf33746eeff0564003cR97) (assumed there's always slug in the imported object which is not true)
- Added originalIdMap to the importer base class to track id
substitution so it can be used when dealing with relational resource
updates
- Removed explicit use of 'this.stripProperties(['id']);' in
beforeImport of base class because we need to assign and remove the id
property in the same place to track this change
- Only calling 'this.stripProperties(['id']);' in
settings/trusted_domain imports as the method won't be called otherwise
- Expanded regression tests with new supported import case
2019-07-16 12:01:44 +02:00
..
adapters Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
api 🐛 Allowed administrators to change other users' passwords (#10891) 2019-07-15 14:19:31 +08:00
config 🐛 Allowed .ico files to be uploaded for icons. (#10820) 2019-07-01 13:29:24 +07:00
data 🐛 Fixed import for tag without slugs that belongs to a post (#10917) 2019-07-16 12:01:44 +02:00
lib Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
models Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
public Update default 404 page 2019-07-15 14:47:01 +02:00
services 🐛 Fixed error message when get helper doesn't have API access (#10892) 2019-07-15 14:18:58 +08:00
translations 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Replaced v1 for v4 uuids (#10871) 2019-07-15 14:01:02 +08:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00