orionjs / orioncms

[Old] Orion is an open source framework built on Meteor that makes complex as well as simple apps possible with minimal effort.
http://orionjs.org
MIT License
715 stars 129 forks source link

Update failure on adding links #388

Closed vmatekole closed 8 years ago

vmatekole commented 8 years ago

I have the following code:

if Meteor.isClient
  orion.links.add {
    index: 2
    identifer: "123"
    title: "Projects"
  }

I have also attempted to add links via console and have the error in both scenarios:

update failed: getErrorObject@http://core-01/packages/aldeed_collection2.js?78c0462c34a0d8e88521e33afa3cbd1a0e4a7234:381:15
doValidate@http://core-01/packages/aldeed_collection2.js?78c0462c34a0d8e88521e33afa3cbd1a0e4a7234:364:13
Mongo.Collection.prototype[methodName]@http://core-01/packages/aldeed_collection2.js?78c0462c34a0d8e88521e33afa3cbd1a0e4a7234:119:14
Mongo.Collection.prototype.upsert@http://core-01/packages/mongo.js?69942a86515ec397dfd8cbb0a151a0eefdd9560d:709:1
orion.links.add/<@http://core-01/packages/orionjs_base.js?0a45f9379f0d119ae37323777447fbc750dbea34:269:5
Tracker.Computation.prototype._compute@http://core-01/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:349:5
Tracker.Computation.prototype._recompute@http://core-01/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:368:9
Tracker._runFlush@http://core-01/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:507:9
onGlobalMessage@http://core-01/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:365:11
vmatekole commented 8 years ago

Not sure what the issue was but the above code is working now :unamused: