Hey everybody,
So, I know this was brought up on the list before (
https://groups.google.com/d/topic/liftweb/Aw0dDLyJMqo/discussion) - but I'm interested in finding out if there has been any progress or consideration made in moving toward a more accurate check distinguish ObjectIds and Strings. We've been having some serious issues with this over the past weeks because, as you might expect, if the Scala model is expecting to find a string for a particular field name and instead finds an ObjectId - things get hairy. And by hairy, I mean Exceptions getting thrown and users seeing errors or infinite loading spinners (no fun for anyone).
There was mention in the referenced thread that the existing ObjectId.isValid check was left in the code for backward compatibility, which I understand, but this has become an increasingly common problem for computer science themed chats on our site where discussion might occasionally wander to 24 character hex identifiers. Also, if there are any solutions for getting around this with the current Lift codebase, I'd love to hear them.
Cheers,
Matt