Ghost/core/server/models/relations
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
..
authors.js 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
index.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00