keystonejs/keystone-classic

Keystone issues with Meteor

開放

#3,887 建立於 2017年1月13日

 (10 則留言) (4 個反應) (1 位負責人)JavaScript (2,288 個分叉)batch import
feature requesthelp wantedlow priority

倉庫指標

星標
 (14,656 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南