0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/integration
kirrg001 d209a4d013 🐛 Fixed importer bug: can't resolve authors relation
closes #9547

- you setup a blog with the following owner:
  - email: test@ghost.org
  - name: test
  - slug: test
- now you import a JSON db file, which holds the exact same owner
  - this owner won't be imported, because it's a duplicate
  - but the slug is different (!)
- the importer tries to find a matching existing user, but won't find anything
- the importer then send an empty authors array `post.authors=[]` into the model layer
- this is not allowed -> this would mean, you are actively trying to unset all authors
2018-04-10 01:10:06 +02:00
..
api Fixed post.unpublished when deleting all content 2018-04-06 15:49:25 +02:00
data/importer/importers 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
model Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
site_spec.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
update_check_spec.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00