-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
None
-
Minor Change
When serialization of hash key to bson fails, the exception message is not indicating that the affected object is the key. In the event of data corruption, one could assume the value is corrupted, but in reality the key may be corrupted.
Additionally, hash keys must not have embedded nulls. When they do, the exception message states the "string is not valid utf-8" which is not strictly correct and adds to confusion.
- related to
-
RUBY-1917 "String XXX is not valid UTF-8" in BSON::String since upgrading to Ruby 2.6.3 in Unicorn server
- Closed
- links to