About the issue I got. I simply forgot to update my XML catalogs after having changed the OFBiz working copy reference name.
Thanks to Paul Piper for his help about this last point, by pointing about XSD reference.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234014 13f79535-47bb-0310-9956-ffa450edef68
Steps to Reproduce:
Change the internal_name of a product to "Kochlöffel" (that's German for cooking spoon. Just in case you ever need one while in a German-speaking country and don't have a dictionary handy).
Go to the catalog and use the product search box to the left to search for "Koch", you should see the product as a suggestion
Clear the input field and search for "löffel" instead -> the product is not found.
The reason for this is that the special characters have to be url encoded for the GET request, but are never decoded. Easiest way to fix this is just to use a POST request instead.
jleroux: Post uses ISO-8859-1 as default encoding. But as we set a charset=UTF-8 in our header all characters should be handled correly (i18n concern)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232053 13f79535-47bb-0310-9956-ffa450edef68
The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.
Features:
API for easy CRUD operations
Versioning
Multi Language Support
Object Content Mapping
Sample Implementation in Example Area
See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.
Detailed description can be found in the Wiki: https://cwiki.apache.org/OFBIZ/jackrabbit-branch-development.html
For any questions, requests, issues use the jira post: https://issues.apache.org/jira/browse/OFBIZ-4659
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231647 13f79535-47bb-0310-9956-ffa450edef68
Go to https://localhost:8443/example/control/main
Click the New Example button. In the popup window, click Create. You are taken to the Find Example screen and it contains an error message.
Look at the current URL. Try navigating to it: https://localhost:8443/example/control/createExample The Find Example screen is displayed with an error message.
Click your browser's Back button. The popup dialog appears again.
In summary: There is no way to correct an invalid entry.
I added a required flag for the mandatory fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230474 13f79535-47bb-0310-9956-ffa450edef68
Description:
Getting errors on clicking "Export" tab. Steps to regenerate the issue.
1. Go to Facility component.
2. Go to inventory tab.
3. After that go to "Export" tab, there is an error:
Macro renderFormOpen has no such argument: viewSize
The problematic instruction:
----------
==> macro renderFormOpen [on line 64, column 1 in component://widget/templates/xmlFormMacroLibrary.ftl]
in user-directive renderFormOpen
For reference- please have a look on below given link-
https://demo-trunk.ofbiz.apache.org:8443/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse
I have done searching and found that there are parameters missing in some xmlFormMacroLibrary.ftl macros for both trunk and release branch 11.04.
Thanks Amardeep for the contribution!!!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229090 13f79535-47bb-0310-9956-ffa450edef68
debugResources is true which creates a DebugXAResource (that creates an Exception) , it should be false and made an option for debuging
jleroux: see comments in Jira 4282 for more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226234 13f79535-47bb-0310-9956-ffa450edef68
InternalBegin is uselessly synchronized , since it is a static method it is a very big useless Contention Point since not unthread safe instance variable is used
jleroux: see comments in Jira 4282 for more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226231 13f79535-47bb-0310-9956-ffa450edef68
Deserialization of arrays with UtilObject.getObject() throws a ClassNotFoundException. This happened to us when we enabled the distributed cache clear feature and it was sending arrays of EntityExpr objects to other OFBiz instances.
The reason is, that the org.ofbiz.base.util.ObjectInputStream calls classLoader.loadClass(name) directly instead of using Class.forName(name, init, classLoader).
According to java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6446627 ClassLoader.loadClass() is not intended to being used this way and doesn't support loading arrays.
jleroux: Sun/Oracle is pretty clear about that <<[When you want to reflectively load a class by name initiated using a specific class loader, you should not invoke that loader's public loadClass method directly-- instead, you should always use the static three-argument Class.forName method. The ClassLoader.loadClass instance method is more intended for delegation from one class loader to another within a class loading operation (although this is a common confusion and not well described in the documentation). In other words, replace L.loadClass(N) with Class.forName(N,false,L). The Class.forName invocation may eventually end up invoking loadClass on the specified loader, but only after taking care of some other aspects of the VM's standard symbolic class name resolution process-- the significant bit in this case being the support for loading/creation of array classes.]>> More at the link above
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226223 13f79535-47bb-0310-9956-ffa450edef68
I followed Adrian's advice. I tried to create an order with a dropship1 item (like in Jira 4637) and it worked perfectly. I guess, as we were suspecting, using
set(name, "");
instead of
element.setAttribute(name, "null");
had side effects.
Anyway, as Adrian pointed out, the right returned string should be "[null-field]" and it's now correct/consistent. On the other side (entity sync clients), of course, now "[null-field]" should be handled instead of "" or "null"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1226055 13f79535-47bb-0310-9956-ffa450edef68