javascript - RangError on updating an old document after updating schema in meteorjs ( Yogiben Admin, Simpleschema ) -
im getting following error
w20151027-20:28:24.193(5.5)? (stderr) w20151027-20:28:24.195(5.5)? (stderr) /private/var/root/.meteor/packages/meteor-tool/.1.1.4.13atstp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245 w20151027-20:28:24.196(5.5)? (stderr) throw(ex); w20151027-20:28:24.196(5.5)? (stderr) ^ w20151027-20:28:24.196(5.5)? (stderr) rangeerror: maximum call stack size exceeded => exited code: 8
say have simpleschema field "a", , have inserted data using admin panel. after that, have added field "b", , edited existing document in collection using admin panel add value field "b", , throws above error.
but if try insert new document, there no error. bit stuck on this. !! idea guys ?
unless new field optional in schema, old documents can't validated against anymore, somewhere in process of updating via admin panel.
Comments
Post a Comment