Closed flack closed 13 years ago
Agreed, 0 and negative integers (and strings that are not GUIDs) should throw exceptions
I added test for this in 522c4bb335b3596cad7f7791eaabb1130e3e938d (failing at the moment). it should be fixed in core. I'll submit ticket
core issue: midgardproject/midgard-core#75
Since #20, the following throws an InvaliArgumentException:
This, however, returns an empty object:
So I was wondering: Is this a bug or a feature of some sorts?
BTW,
and all other negative values also return objects, which definitely looks like a bug