Stephen Lewis (Burrows)
Stephen Lewis (Burrows)
Okay, so it looks like the problem is that if a runtime error happens it's an instance of [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error), which [has non-enumerable properties](http://stackoverflow.com/questions/18277890/why-cant-i-see-the-keys-of-an-error-object). i.e. Using Object.keys() returns an empty array...
Arguably though this should just be rendering the stack trace (which includes the error message) rather than displaying a comma-separated list of all the attributes.
Workaround for now: ``` suite.on('cycle', function(event) { if (event.target.error) { event.target.error = { stack: event.target.error.stack, } } beautifyBenchmark.add(event.target) }) ```
Looking at this again, I can also imagine situations where the company website could be the same for different advertisers - say if two branches of the same company were...
Just ran into this as well. Tested on 0.2.1 and on the latest master.
Ugh, this is due to poor explanation in the README. The example given there uses a View, not a ViewSet, which I failed to notice due to the name being...
@someidiot I've been fine with workarounds for now; I usually prefer not to fork unless absolutely necessary.
@miki725 thanks for making this!
Workaround / solution is to copy BulkSerializerMixin into your app and replace this line: ``` id_value = id_field.get_value(data) ``` with this one: ``` id_value = id_field.to_internal_value(id_field.get_value(data)) ```
maybe also caused by the confusing readme, like #55?