I have tried to build OFBiz and I have two errors in file
MacroFormRendererTest: /ofbiz/framework/widget/src/test/java/org/apache/ofbiz/widget/renderer/macro/MacroFormRendererTest.java:127: error: method executeMacro in class FtlWriter cannot be applied to given types; ftlWriter.executeMacro(withNotNull(), withNotNull()); ^ required: Appendable,Locale,String found: Object,Object reason: actual and formal argument lists differ in length /ofbiz/framework/widget/src/test/java/org/apache/ofbiz/widget/renderer/macro/MacroFormRendererTest.java:1042: error: method executeMacro in class FtlWriter cannot be applied to given types; ftlWriter.executeMacro(withNotNull(), withCapture(macros)); Can anybody help me? Tomek |
Hi Tomek,
Your message has been moderated, else it would not have reached this Mailing List. Please subscribe to the mailing list, See why here http://ofbiz.apache.org/mailing-lists.html. You will get better support, people can answer you on the ML. The wider the audience the better the answers you might get. Also, it's more work for moderators who have to accept your messages as long as you have not subscribed. I would recommend you to ask such queries on the user mailing as the list is intended for such a purpose. http://ofbiz.apache.org/mailing-lists.html Also, please share some more details about the OFBiz setup like the version, environment, etc so that others may identify the issue and help you better. Thanks and Regards, Aditya Sharma On Mon, Dec 7, 2020 at 6:03 PM Tomek <[hidden email]> wrote: > I have tried to build OFBiz and I have two errors in file > MacroFormRendererTest: > > /ofbiz/framework/widget/src/test/java/org/apache/ofbiz/widget/renderer/macro/MacroFormRendererTest.java:127: > > error: method executeMacro in class FtlWriter cannot be applied to given > types; > ftlWriter.executeMacro(withNotNull(), withNotNull()); > ^ > required: Appendable,Locale,String > found: Object,Object > reason: actual and formal argument lists differ in length > /ofbiz/framework/widget/src/test/java/org/apache/ofbiz/widget/renderer/macro/MacroFormRendererTest.java:1042: > > error: method executeMacro in class FtlWriter cannot be applied to given > types; > ftlWriter.executeMacro(withNotNull(), > withCapture(macros)); > > Can anybody help me? > > Tomek > > |
On 07.12.2020 13:41, Aditya Sharma wrote: > Hi Tomek, Hi > I would recommend you to ask such queries on the user mailing as the > list is intended for such a purpose. > http://ofbiz.apache.org/mailing-lists.html > <http://ofbiz.apache.org/mailing-lists.html> I think that the problem is connected with source code provided by OFBiz team. A few days ago the file ofbiz-framework/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/FtlWriter.java has been changed (currently executeMacro method has three argument. In the past it had two arguments). The test methods located in MacroFormRendererTest class uses old version of executeMacro method. So it is rather OFBiz project issue. Should I really post this issue to user group? > > Also, please share some more details about the OFBiz setup like the > version, environment, etc so that others may identify the issue and > help you better. I use ./gradlew build command to build OFBiz. I have downloaded newest source code from trunk. I use Debian 10 and openjdk-open-j9-11.0.8+10/ Tomek |
Hi Tomek,
Thanks for reporting. The issue is fixed in trunk. Regards, James On 2020/12/07 14:58:31, Tomek <[hidden email]> wrote: > > On 07.12.2020 13:41, Aditya Sharma wrote: > > Hi Tomek, > > > Hi > > > > I would recommend you to ask such queries on the user mailing as the > > list is intended for such a purpose. > > http://ofbiz.apache.org/mailing-lists.html > > <http://ofbiz.apache.org/mailing-lists.html> > > > I think that the problem is connected with source code provided by OFBiz > team. A few days ago the file > ofbiz-framework/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/FtlWriter.java > has been changed (currently executeMacro method has three argument. In > the past it had two arguments). > > The test methods located in MacroFormRendererTest class uses old version > of executeMacro method. So it is rather OFBiz project issue. Should I > really post this issue to user group? > > > > > > Also, please share some more details about the OFBiz setup like the > > version, environment, etc so that others may identify the issue and > > help you better. > > > I use ./gradlew build command to build OFBiz. I have downloaded newest > source code from trunk. I use Debian 10 and openjdk-open-j9-11.0.8+10/ > > > Tomek > |
Now everything is OK :) Thank you :)
Regards, Tomek On 07.12.2020 16:50, James Yong wrote: > Hi Tomek, > > Thanks for reporting. > The issue is fixed in trunk. > > Regards, > James > > On 2020/12/07 14:58:31, Tomek <[hidden email]> wrote: >> On 07.12.2020 13:41, Aditya Sharma wrote: >>> Hi Tomek, >> >> Hi >> >> >>> I would recommend you to ask such queries on the user mailing as the >>> list is intended for such a purpose. >>> http://ofbiz.apache.org/mailing-lists.html >>> <http://ofbiz.apache.org/mailing-lists.html> >> >> I think that the problem is connected with source code provided by OFBiz >> team. A few days ago the file >> ofbiz-framework/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/FtlWriter.java >> has been changed (currently executeMacro method has three argument. In >> the past it had two arguments). >> >> The test methods located in MacroFormRendererTest class uses old version >> of executeMacro method. So it is rather OFBiz project issue. Should I >> really post this issue to user group? >> >> >>> Also, please share some more details about the OFBiz setup like the >>> version, environment, etc so that others may identify the issue and >>> help you better. >> >> I use ./gradlew build command to build OFBiz. I have downloaded newest >> source code from trunk. I use Debian 10 and openjdk-open-j9-11.0.8+10/ >> >> >> Tomek >> |
Free forum by Nabble | Edit this page |