Ghost/core/server/data/importer
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
..
handlers Use Promise support which was added in fs-extra 3.x 2017-12-13 20:57:11 +01:00
importers 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
index.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00