To regenerate this issue on trunk, here are the steps:
Go to Project --> Projects
Click on New Project
Only enter Project Name and click on save button
Close the current project.
The following error is thrown
Proper fix: issue occurred due to use of inappropriate map. Instead of fetching the value of projectId from parameters, its better to get it from context map as its already set at screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749282 13f79535-47bb-0310-9956-ffa450edef68
===================================
Add a look-up for Product Id in Find Revision Screen under scrum component
===================================
Thanks Pawan Verma for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748943 13f79535-47bb-0310-9956-ffa450edef68
We are getting same console error on following two screens.
Steps to regenerate:
1) Go to eCommerce
2) Click on Register link
3) After click on register link, we can see error on console.
1) Now click on profile link
2) Click on create new contact information link
3) select "postal address" contact type and click on create button
4) After click on create button, we can see error on console.
Console Error:
Error executing FreeMarker template
[java] freemarker.template.TemplateModelException: No error description was specified for this error; low-level message: java.lang.ClassNotFoundException: org.ofbiz.base.util.EntityUtilProperties
[java]
[java] ----
[java] FTL stack trace ("~" means nesting-related):
[java] - Failed at: #assign defaultCountryGeoId = Static[... [in template "component://ecommerce/template/customer/EditContactMech.ftl" at line 185, column 13]
[java] ----
[java] at freemarker.ext.beans.ClassBasedModelFactory.get(ClassBasedModelFactory.java:52) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.DynamicKeyName.dealWithStringKey(DynamicKeyName.java:140) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.DynamicKeyName._eval(DynamicKeyName.java:75) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Dot._eval(Dot.java:41) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.MethodCall._eval(MethodCall.java:58) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Assignment.accept(Assignment.java:134) ~[freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:326) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
[java] at freemarker.core.Environment.process(Environment.java:305) [freemarker-2.3.24.jar:2.3.24]
[java] at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748286 13f79535-47bb-0310-9956-ffa450edef68
There are 31 occurrences and most use shortcuts. They should be converted to link to the current wiki, of course the previous shortcuts are no longer valid.
We need to replace them by hand, hence 1st find what the old shortcuts were, and then replace them with new shortcuts, or even better real links. We got bitten once by shortcuts, it's enough...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748260 13f79535-47bb-0310-9956-ffa450edef68
Thanks Vaibhav Jain for reporting the issue and providing initial patch, thanks Amardeep Singh Jhajj and Jacques for reviewing the patch and providing your comments, thanks Montalbano Florian for providing final patch including Scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1748218 13f79535-47bb-0310-9956-ffa450edef68
(resource == null || resource.length() <= 0)
From Java spec. a String, Collection, Map or CharSequence can't have a negative length, so the pattern above can be reduced to
(resource == null || resource.length() == 0)
which can be replaced using
UtilValidate.isEmpty()
I checked, there are several other occurrences of this pattern (some very old, I guess most were routinely copied from an initial occurrence). I decided to replace all of them, here they are.
I did that already long ago for the
(resource == null || resource.length() == 0)
pattern. It remains 4 of them. Three are justified (because of the dependency on base component or because using isEmpty() on Object is disputable for performance reasons). I took care of the remaining one right aways (in SplashScreen.java)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747976 13f79535-47bb-0310-9956-ffa450edef68
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)
I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix
I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to
"The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747712 13f79535-47bb-0310-9956-ffa450edef68
=======================================
Report "Sale Orders By Channel" is not rendering details
=======================================
Thanks Nameet Jain for your contirbution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747642 13f79535-47bb-0310-9956-ffa450edef68