[jira] [Commented] (OFBIZ-6270) base/json/JSON has been removed, with no deprecation window

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6270) base/json/JSON has been removed, with no deprecation window

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508221#comment-14508221 ]

Adam Heath commented on OFBIZ-6270:
-----------------------------------

Also, just because ofbiz upstream has changed things, and between 1 official release, has deprecated something(and/or removed the code), external vendors might need to support extensions that have to run against multiple versions of ofbiz.

Having the ability to run this external code on both versions of ofbiz at the same time makes it easier to slowly upgrade the client systems, without having a flag day across everything.

> base/json/JSON has been removed, with no deprecation window
> -----------------------------------------------------------
>
>                 Key: OFBIZ-6270
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6270
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk, 12.04.04
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Critical
>
> The antlr-based json parser(at org.ofbiz.base.json.JSON.cc) was removed last October(2014-10-27).  However, no backwards-compatible class was left in place, with a proper @Deprecation tag applied.
> The proper approach should have been to leave the class in place, adding @Deprecation, and leaving the json-lib.jar in place.  Then, after one successful release, removing the actual code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)