keystonejs/keystone-classic

Keystone issues with Meteor

Open

#3 887 ouverte le 13 janv. 2017

Voir sur GitHub
 (10 commentaires) (4 réactions) (1 assigné)JavaScript (2 288 forks)batch import
feature requesthelp wantedlow priority

Métriques du dépôt

Stars
 (14 656 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I'm trying to use Keystone as an admin back-end for a database populated by a Meteor app, and I'm running into a few issues.

  1. Only a single item appears in a list.
  2. The item's URL is keystone/posts/null.

https://d3vv6lp55qjaqc.cloudfront.net/items/0P191E3a0N0u3q470m1M/Screen%20Shot%202017-01-13%20at%2011.14.30.png?X-CloudApp-Visitor-Id=d40749865873d7b5ab32c80852150f74&v=81e04dac

@michaelrambeau, who also ran into the same issue when trying to use Keystone with a different Meteor app, suggested it might be due to the fact that Meteor uses strings as IDs instead of MongoDB object IDs (see idGeneration here).

Any idea what I can do about this? I've seen it suggested to add _id: String, to my model, but that leads to a Path _id on list Post is a reserved path error.

Guide contributeur