Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.
jleroux: I noticed that none of the *TypeAttr entities has a description field, why not adding it to them all?
Pierre: This patch addresses the issue in all applicable entities, and replaces the previously provided patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743422 13f79535-47bb-0310-9956-ffa450edef68
Steps to regenerate (Create a new order) -
1) Go to Order Entry (in Order Manager) and add the necessary detail and continue.
2) Add Order items and click on Finalize Order.
3) Continue with Order Entry Ship-To Settings.
4) Add any shipment method and continue.
5) On Order Terms Page add a term with description. Term description is not getting saved. Same case with the update term functionality.
As said Florian Montalbano:
I looked into the issue and found the root of the problem :
There are multiple functions prototype to add a term to an order and the one used wasn't using the "description" field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743411 13f79535-47bb-0310-9956-ffa450edef68
Currently in Product Price Creation screen there are 3 fields:
Tax Auth Geo ID
Tax In Price
Tax Auth Combined Id
We should either show only
Tax Auth Geo ID
Tax In Price
using lookups like in Product Store screen and remove the Tax Auth Combined Id field
or keep it and use a combined Tax Auth Geo ID+Tax In Price drop-down for it. Then we could use the same in Product Store screen to be consistent
A patch for the improvements. Removed "Tax Auth Combined Id" field and display lookups for "Tax Authority Party ID" & "Tax Auth Geo ID" fields as showing on the product store screen.
jleroux: I also modified the createProductPrice service implementation (by removing taxAuthCombinedId handling in inlineHandlePriceWithTaxIncuded) and the documentation (comments about taxAuthCombinedId in the service definition)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743254 13f79535-47bb-0310-9956-ffa450edef68
When creating a blog-entry with empty article text, it is not possible to add update the article. Content entry is created but not assigned to contentId of blog-entry. The attached patch fixes this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743230 13f79535-47bb-0310-9956-ffa450edef68
When you create content via CMS
(Content --> Websites --> [Select Website for example WebStore] --> CMS )
the text content does not get stored. No error message available.
TextData was not submitted. Additionally I corrected a Javascript call as the used function signature does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743100 13f79535-47bb-0310-9956-ffa450edef68
Sometimes, on clicking the reset password link from "New password sent" email we get a reset password page and on saving the new password we get following error.
[java] org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@3ea85a47].
[java] at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:462) ~[shiro-core-1.2.3.jar:1.2.3]
[java] at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:445) ~[shiro-core-1.2.3.jar:1.2.3]
[java] at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:390) ~[shiro-core-1.2.3.jar:1.2.3]
[java] at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:382) ~[shiro-core-1.2.3.jar:1.2.3]
[java] at org.ofbiz.entity.util.EntityCrypto$ShiroStorageHandler.decryptValue(EntityCrypto.java:282) ~[ofbiz-entity.jar:?]
[java] at org.ofbiz.entity.util.EntityCrypto.doDecrypt(EntityCrypto.java:147) ~[ofbiz-entity.jar:?]
[java] at org.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:126) ~[ofbiz-entity.jar:?]
[java] at org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:389) ~[ofbiz-webapp.jar:?]
I found that sometimes encrypted password string (Base64 String created from EntityCrypto's encrypt method) contain "+".
So on clicking the reset password link from email we get a reset password page and on saving the new password we get this error. The reason is "+" is converted to " "
after url decoding. For example: Below URL having encrypted token with "+"
https://localhost:8443/partymgr/control/passwordChange?USERNAME=DemoUser&password=CcXuJ3vDfba0J7A8xO+X5A==&forgotPwdFlag=true&tenantId=
We can encrypt the token using URL encoder so that it is taken as it is in URL decoding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743025 13f79535-47bb-0310-9956-ffa450edef68
Completes in screens the changes done in forms at r1741873. I then replaced few form lists by grids, where it was possible to do it with regexp.
Also complete StatsForms.xml to use only grids and "searchList" form in ecommerce ContentForms to NOT use grid (not called in screen)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742196 13f79535-47bb-0310-9956-ffa450edef68
Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742103 13f79535-47bb-0310-9956-ffa450edef68
This patch addresses the visibility of the 'add/edit' terms form. Additionally it reorders the sequence of the roles form and removes a wrong screenlet title.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742087 13f79535-47bb-0310-9956-ffa450edef68
groovy.lang.MissingPropertyException: No such property: payment for class: script....
So back to origin :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742018 13f79535-47bb-0310-9956-ffa450edef68
How tot test!
Create a new agreement and fill the following fields:
partyTo (for ex. DemoCustomer)
Role Type Id From (for ex. Client)
Role Type Id To(for ex. Bill-to customer)
Agreement Type ID (for ex. Sales)
Description: test
error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]
I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.
This more a workaround than a fix but it works and is better than an error message. Missing fields will be set to empty field. Service will be called and return nothing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741960 13f79535-47bb-0310-9956-ffa450edef68
======================================================================================================================================================
A patch from Ingo Wolfmayr for "Agreement Search List requires partyIdFrom/partyIdTo or fails" - https://issues.apache.org/jira/browse/OFBIZ-7030
How tot test!
Create a new agreement and fill the following fields:
partyTo (for ex. DemoCustomer)
Role Type Id From (for ex. Client)
Role Type Id To(for ex. Bill-to customer)
Agreement Type ID (for ex. Sales)
Description: test
error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]
I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.
I added a not-empty check.
======================================================================================================================================================
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741930 13f79535-47bb-0310-9956-ffa450edef68
How tot test!
Create a new agreement and fill the following fields:
partyTo (for ex. DemoCustomer)
Role Type Id From (for ex. Client)
Role Type Id To(for ex. Bill-to customer)
Agreement Type ID (for ex. Sales)
Description: test
error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]
I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.
I added a not-empty check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741925 13f79535-47bb-0310-9956-ffa450edef68
Replaces few form lists by grids, where it was possible to do it with regexp. For a reason I still don't understand I could not do it for all...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741873 13f79535-47bb-0310-9956-ffa450edef68
Only ROU_ACTIVE statusItem exists for statusTypeId ROUTING_STATUS. Adding another such as ROU_INACTIVE would allow for more control over routings. Doing so entails adding the statusId to the find and edit screens.
ROU_INACTIVE was add as a StatusItem and currentStatusId was added to the routing find form as a multi-drop down
jleroux: I added use of common/webcommon/includes/setMultipleSelectJs.ftl and French labels
Oops, just spotted that I applied the patch I attached to the issue, since then setMultipleSelectJs.ftl has moved! This fixes the previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741817 13f79535-47bb-0310-9956-ffa450edef68
Only ROU_ACTIVE statusItem exists for statusTypeId ROUTING_STATUS. Adding another such as ROU_INACTIVE would allow for more control over routings. Doing so entails adding the statusId to the find and edit screens.
ROU_INACTIVE was add as a StatusItem and currentStatusId was added to the routing find form as a multi-drop down
jleroux: I added use of common/webcommon/includes/setMultipleSelectJs.ftl and French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741789 13f79535-47bb-0310-9956-ffa450edef68
Because using SecureRandom comes with a cost, I have identified the places where it's reasonable to keep the non secured Random (like tests, internal sequences, etc.).
Ant to use UUID.randomUUID to generate the external link id
Also, though there are no real proven vulnerabilities, I decided to backport as much as possible since it's now public.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741684 13f79535-47bb-0310-9956-ffa450edef68
Enable E-Mail Notifications
Create order (trigger sendOrderConfirmation)
--> createOrderNotificationLog fails due to missing PK in "entity-auto"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741393 13f79535-47bb-0310-9956-ffa450edef68
Go to: /partymgr/control/findparty
Click on either none, postal, telecom,other radiobutton.
NHotice that after clicking on another radiobutton, the section that was previously expanded is not automatically collapsed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740072 13f79535-47bb-0310-9956-ffa450edef68
The exception is caused by foreign key constraint violation between ShipmentCostEstimate and CarrierShipmentMethod entities.
Currently, when creating a new product store using ofbizsetup component default data associated with the product store is loaded into the database using the following steps.
1. read default data from entity xml file and replace specific items in the read data and write to temp file.
2. use service=parseEntityXmlFile to load the processed file into database.
The issue with this method is that the temp file can present a problem when ofbiz is operating in multitenant mode.
The solution is to modify the relevant services so that no temp file needs generated.
jleroux: I simply used an UtilValidate.isNotEmpty() method in EntitySaxReader class
I was initially reluctant to these changes because you can no longer load the content of the GlAccountData.xml and ProductStoreData.xml files, or the files themselves, using the import XML feature of webtools. But those files are specific to the setup component, so they should not be missed, they are supposed to be used in this context only.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740008 13f79535-47bb-0310-9956-ffa450edef68
These patches address the integration of CatalogSystemPropertyData.xml in the ofbiz-component.xml of the Product component, this is for the catalog webapp (based on catalog.properties)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739967 13f79535-47bb-0310-9956-ffa450edef68
The patches address the integration of OrderSystemPropertyData.xml in the ofbiz-component.xml of the Order component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739909 13f79535-47bb-0310-9956-ffa450edef68
tika-parsers-1.7.jar -> tika-parsers-1.12.jar
tika-core-1.7.jar -> tika-core-1.12.jar
This update induce updating of :
pdfbox-1.8.5.jar -> pdfbox-1.8.11.jar
jempbox-1.8.5.jar -> jempbox-1.8.11.jar
fontbox-1.8.5.jar -> fontbox-1.8.11.jar
commons-compress-1.9.jar -> commons-compress-1.11.jar
And pdfbox-1.8.11.jar need the introduction of :
jce-jdk13-154.jar under MIT licence (www.bouncycastle.org)
Apache Tika is needed to test the screenfop on issue OFBIZ-6497. So I move all library from applications/content/lib/ to framework/base/lib/ to didn't create a dependency between widget and content
Related issue OFBIZ-7015
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739551 13f79535-47bb-0310-9956-ffa450edef68