diogogmt

queryGetSchemaError

Mar 20th, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Query getSchema
  2. search
  3. parts: [ 'estimateSet', '$', 'lineItemSet' ]
  4. p: 3
  5. trypath: estimateSet.$.lineItemSet
  6. foundschema: undefined
  7. p: 2
  8. trypath: estimateSet.$
  9. foundschema: undefined
  10. p: 1
  11. trypath: estimateSet
  12. foundschema: { path: 'estimateSet',
  13. instance: undefined,
  14. validators: [],
  15. setters: [],
  16. getters: [],
  17. options: { type: [ undefined ] },
  18. _index: null,
  19. casterConstructor: [Function: Mixed],
  20. caster:
  21. { path: null,
  22. instance: undefined,
  23. validators: [],
  24. setters: [],
  25. getters: [],
  26. options: {},
  27. _index: null },
  28. defaultValue: [Function] }
  29. foundschema
  30. if (foundschema.caster)
  31. if (p !== parts.length)
  32. if ('$' === parts[p])
  33. search
  34. parts: [ 'lineItemSet' ]
  35. p: 1
  36. err: [TypeError: Cannot call method 'path' of undefined]
Advertisement
Add Comment
Please, Sign In to add comment