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

hasMany, forms and object deletion #376

Open Sabst opened 8 years ago

Sabst commented 8 years ago

Assume schema A has many instances of schema B.

  1. create b, an instance of B and save it
  2. create a, an instance of A and associate b to a. Now save a
  3. display b and delete it
  4. display a --> in the hasMany field "Loading..." is displayed (as b is not available anymore) --> if "Loading..." is removed by clicking on the X, it still appears in the available instances of B

Maybe the same happens for hasOne, I did not check.

ashishapy commented 8 years ago

+1 Yes, it happens with hasOne as well.