keystonejs/keystone-classic

Keystone issues with Meteor

Aperta

#3887 aperta il 13 gen 2017

 (10 commenti) (4 reazioni) (1 assegnatario)JavaScript (2288 fork)batch import
feature requesthelp wantedlow priority

Metriche repository

Star
 (14.656 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor