Metadata
- Source
- ENGAGE-387
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Colin Clark
- Reporter
- Antranig Basman
- Created
2010-02-12T18:27:33.000-0500 - Updated
2014-03-03T13:47:18.154-0500 - Versions
-
- 0.3b
- Fixed Versions
-
- 0.3b
- Component
-
- Kettle
Description
As noted in ENGAGE-383, we are using plain JSON.stringify to serialise mini-objects which are issued as Couch keys. This does not guarantee to emit the keys in a stable order, although we have generally "been lucky" so far. The breakage of 2 views over the weekend was as a result of an apparently unrelated change which disturbed the order of key serialisation. In order to ensure that the entire system does not unexpectedly break when in production, we need a custom serializer for these structures which guarantees that keys are emitted in the order determined in the map.js function
For reference, collation rules here:
Comments
-
Antranig Basman commented
2010-02-12T18:31:04.000-0500 Bug Parade Engage 0.3
-
Antranig Basman commented
2010-02-13T02:03:07.000-0500 Believed fixed at rev 9396 - please review