0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@7fa52be861 Updated Ghost-Admin: API request without updated_by/created_by 2018-04-05 18:51:58 +02:00
server 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
test 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
index.js