OpenBD / openbd-core

The original open source Java powered GPL CFML runtime engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading from old OpenBD, odd Json in the old version?

MFernstrom opened this issue · comments

We're upgrading an old server to the latest OpenBD and as we go we found that there is old json data (still in use) that has CFML style YES/NO instead of json True/False in the json data, causing the newer OpenBD deserializer to fail with Invalid Json.

Is this expected? Was there an old version which used yes/no for json booleans?

I see what happened here.

That functionality is dependent on a customization we made to the Jackson library but that was effectively removed when we upgraded Jackson in this commit 06633c8.

Aha I see, was that removed on purpose or just forgotten to be added to the new version of Jackson?

Just forgotten. I'll aim to get that added back in this week.

That's great, thanks @wua22

I've committed a fix for that and rebuilt the nightly build.

You rock @wua22, is the modified version the latest Jackson? (Just curious)

No I just went with the same version that we had in jar form to keep things simple.

Oh ok, cool. Looks like it's working, thanks again Andy!