84563

KeystoneJS: Relationships in Admin UI not updating

I am customizing KeystoneJS and I have run into an issue where it seems the relationship lists in my Admin UI have failed to update.

Specifically, I am looking at the default Post and Post Categories models with a relationship defined on the Post.categories field. If I add a category, it does not show up as an option for when creating or editing a Post.

Could there be some kind of data caching going on? Has anyone seen this issue, I am not seeing any errors and I can confirm the category has been created in MongoDB and the front-end can see and display the category just fine.

Thanks

Answer1:

This is a bug in the v0.3 of Keystone. If you go to the following link

https://github.com/keystonejs/keystone/blob/master/docs/guides/v0.3-to-v4.0-Upgrade-Guide.md#user-content-other-gotchas

It tells you that you need to update to v4.0.

Recommend

  • Rails + Amazon RDS : latency issues
  • how to handle onLoad Event on img tag and others
  • How can I stop .htaccess redirecting a subdomain to the main site?
  • Why == is different for Integer and String?
  • How to resolve “ Multiplicity is not valid in Role” error?
  • Scrolling News Ticker Jquery - Issues
  • Change navbar in bootstrap if user login
  • Using extern @class in order to add a category?
  • “A GKScore must specify a leaderboard.”
  • Django return user model id with L
  • Django model for a Postgres view
  • Django foreign key drop down
  • How can I get the choice “H2” back in the H2 consol?
  • NHibernate manually control fetching
  • Subclassing QGraphicsItem prevents me from being able to use itemAt() on a QGraphicsScene/View
  • Combining two different ActiveRecord collections into one
  • MS Access - How to change the linked table path by amend the table
  • Why Encoding.ASCII != ASCIIEncoding.Default in C#?
  • one Local Olampyad Questions on Informatic in 2011
  • Yii2: Config params vs. const/define
  • Ajax Loaded meta Tags
  • Linq Objects Group By & Sum
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • Retrieving value from sql ExecuteScalar()
  • javascript inside java/jsp code
  • Sending data from AppleScript to FileMaker records
  • AngularJs get employee from factory
  • trying to dynamically update Highchart column chart but series undefined
  • Load html files in TinyMce
  • Hits per day in Google Big Query
  • Angular 2 constructor injection vs direct access
  • Java static initializers and reflection
  • embed rChart in Markdown
  • Android Google Maps API OnLocationChanged only called once
  • Checking variable from a different class in C#
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How can I use `wmic` in a Windows PE script?
  • UserPrincipal.Current returns apppool on IIS
  • Unable to use reactive element in my shiny app
  • Net Present Value in Excel for Grouped Recurring CF