keystonejs/keystone-classic

Keystone issues with Meteor

Open

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

在 GitHub 查看
 (10 留言) (4 反應) (1 負責人)JavaScript (14,656 star) (2,288 fork)batch import
feature requesthelp wantedlow priority

描述

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.

貢獻者指南

Keystone issues with Meteor · keystonejs/keystone-classic#3887 | Good First Issue