These are chat archives for reactioncommerce/reaction

16th
Feb 2015
Aaron Judd
@aaronjudd
Feb 16 2015 20:10
@aldeed Exception while invoking method 'addressBookUpdate' Error: Did not check() all arguments during call to 'addressBookUpdate' while testing check doc, ReactionCore.Schemas.Address.. do you have some kung fu for debugging?
Eric Dobbertin
@aldeed
Feb 16 2015 21:27
@aaronjudd The audit-argument-checks package just wants you to check the rest of the method args, too, I think?
Aaron Judd
@aaronjudd
Feb 16 2015 21:28
yeah, that’s the strange part - I’ve seen that (and am fixing, where that’s the case), but on this method, the only argument is “doc”, as it’s a meteormethod on a form submit
I’ve eyeballed ‘doc’ to the Schema and it’s a match (and passes form validation etc)
I could just check each important property of doc…. yes..
but that’s not my vision for check fu
Eric Dobbertin
@aldeed
Feb 16 2015 21:32
That might be the only one listed in your function signature, but I think one or two more are passed in. Did you console.log(arguments)? I'm guessing it throws that error based on checking the length of arguments variable.
Aaron Judd
@aaronjudd
Feb 16 2015 21:39
I console logged it, checking the length theory now
Everest Liu
@evliu
Feb 16 2015 23:22
in the reaction package refactor, how do i get a link to my package in the reaction console bar next to “Dashboard” and “Orders”?