Good morning Jacques Many thanks for your insights into truck, 22.01 etc.
I've tried the trunk REST-Api and it works (y) so subject to the obvious question - does migrating from 18.12.08 to trunk require any database changes or is it as per your last advice on upgrading to 18.12.08 that its mainly function and security? If its a simple upgrade then I'll move to trunk from 18.12.08 thanks and kind regards Ernbest On Tue, Nov 7, 2023 at 8:22 PM Jacques Le Roux <[email protected]> wrote: > Actually the 22.01 branch is eventually not expected to be released . We > would pass directly to 23.xx, if ever exists. Else we would create a 24.xx > branch. > > For now only the 18.12 branch is official. > > HTH > > Le 07/11/2023 à 10:56, Ernest Hocking a écrit : > > Good evening Jacques, > > > > Thanks for the response. When you suggest using the 22.01 branch can I > ask > > how close this might be to general availability so that I can > > decide whether to use that. I have a friend that would like to try Ofbiz > > in his factory so I am looking to reassure him that Ofbiz meets all of > his > > business requirements. I > > > > thanks and kind regards > > > > Ernest > > > > On Tue, Nov 7, 2023 at 4:25 PM Jacques Le Roux < > [email protected]> > > wrote: > > > >> Hi Ernest, > >> > >> Indeed, the REST API plugin has been added after the creation of the > 18.12 > >> branch : https://issues.apache.org/jira/browse/OFBIZ-11328 > >> > >> So you will need to use the trunk or the 22.01 branch. We expect to > create > >> a 23.xx branch, but that's not quite sure. > >> > >> Jacques > >> > >> Le 07/11/2023 à 04:50, Ernest Hocking a écrit : > >>> Good morning everyone > >>> > >>> I've tried to install the REST API plugin into 18.,12.08. Running > >>> ./gradlew build I get a series of errors similar to: > >>> > >>> > >> > /home/ernest/ofbiz-18.12.08/plugins/rest-api/src/main/java/org/apache/ofbiz/ws/rs/resources/OFBizServiceResource.java:9 > >>> 3: error: cannot find symbol > >>> if (service != null && service.isExport() && > >>> UtilValidate.isNotEmpty(service.getAction())) { > >>> ^ > >>> symbol: method isExport() > >>> location: variable service of type ModelService > >>> > >>> in OFBizServiceResource.java I see: > >>> > >>> ModelService service = context.getModelService(serviceName); > >>> if (service != null && service.isExport() && > >>> UtilValidate.isNotEmpty(service.getAction())) { > >>> > >>> checking the class definition for ModelService there appears to be no > >>> method definitions for the isExport(), > >> getAction(),isAuth(),getName()..... > >>> so it appear that the plugin has not provided these additional methods. > >>> > >>> Any help in locating a fix would be appreciated > >>> > >>> thanks in advance > >>> > >>> Ernest >
