strongloop / strong-arc

StrongLoop Arc has been replaced by API Connect. We recommend Arc users move to the Essentials edition of API Connect. If you have questions, please email reachsl@us.ibm.com.
http://strongloop.com/
Other
114 stars 36 forks source link

update type array to string can make service crash? #1727

Closed Sanbornzhang closed 7 years ago

Sanbornzhang commented 8 years ago
  1. first create a new obj(create function )
  2. then update obj.typeIsArray to " "
  3. then service crashed
node_modules\loopback\node_modules\continuation-local-storage\context.js:82
      throw exception;
      ^

Error: could not create List from JSON string: " "
  at new List ( \node_modules\loopback-datasource-juggler\lib\list.js:21:17)
  at List ( \node_modules\loopback-datasource-juggler\lib\list.js:14:12)