Last modified: 2014-04-09 12:50:54 UTC
Due to a bug, the data value type 'bad' was sometimes recorded to the database when an UnDeserializableValue was encountered, instead of the originally intended data value type. To fix this, we could look at the property type to determine and restore the appropriate data value type. A good place for this would be SnakObject::newFromArray, but that code (and the entire module!) doesn't have access to DataTypes or the PropertyDataTypeLookup. It's unclear to me how to best inject this, or whether it's better to try and implement this fallback somewhere else.