Commit Graph
25506 Commits
Author SHA1 Message Date
Michael Brohl 1fd85aa4f9 Fixed: German translation typo in PartyUiLabels
(OFBIZ-11308)

Thanks: Ingo Könemann for reporting and providing the patch.
2020-01-30 18:38:34 +01:00
Pawan Verma a273531823 Revert "Fixed: Potensial bug under CommunicationEventServices#updateCommEventAfterEmail for CommunicationEvent.subject field"
(OFBIZ-10879)

This reverts commit 9706acf064.
2020-01-29 12:59:59 +05:30
Jacques Le Roux 092988eb05 Fixed: Fixed the issue on party page that will upload the data each time after
refreshing the page.
(OFBIZ-11325)

Earlier 'view' response type is used on the request that cause the issue.
We need to use request-redirect response type along with the required
redirect-parameter instead of view response type, i.e. We need to
request-redirect on viewProfile along with partyId as redirect-parameter.

Thanks: Humera Khan
2020-01-26 06:20:30 +01:00
Pawan Verma 9706acf064 Fixed: Potensial bug under CommunicationEventServices#updateCommEventAfterEmail for CommunicationEvent.subject field
(OFBIZ-10879)

CommunicationEventServices#updateCommEventAfterEmail could generate wrong result. If general.properties value 'mail.notifications.redirectTo' is used, it is possible that the subject string has more than 255 character.

Thanks, Ulrich Heidfeld for your contribution.
2020-01-25 15:56:04 +05:30
Pawan Verma a06bf80855 Fixed: Same content uploaded twice, if refresh the page after uploading the content
(OFBIZ-11171)

Thanks, Humera Khan and Shubham Goswami for your contribution.
2020-01-25 13:10:45 +05:30
Pawan Verma 6c75966c90 Fixed: Order Status History section broken for anonymous order
(OFBIZ-11231)

Reason for the issue: Anonymous orders doen't have associated User login record, so shown statusUserLogin in that case.
2020-01-25 12:04:05 +05:30
Pawan Verma e52860356f Fixed: updatePassword does not save optional parameter requirePasswordChange
(OFBIZ-11320)

When changing the password of a User Login through the Party Manager the Require Password Change dropdown menu selection does not save the selected value. The corresponding process is missing from the LoginMapProcs.xml.

Thanks: Ingo Könemann for your contribution.
2020-01-16 12:43:05 +05:30
Jacques Le Roux 2c727bed21 Fixed: Bug when order contains adjustments with NULL amount
(OFBIZ-11316)

The issue was introduced by OFBIZ-7012 where adding isTaxIncludedInPrice was
missing at line 565. Because the compared amount in this line (in the adjustment)
is different from 0 and equals to amountAlreadyIncluded only if
the tax is included in price

Thanks: Amine Azzi
2020-01-11 11:26:50 +01:00
Deepak Dixit d26e2568d4 Fixed: Fix typo 2020-01-06 00:54:41 +05:30
Jacopo Cappellato 1dd8d5e757 Fixed: Update budget demo data to reflect recent changes to the demo
finacial period data.
2020-01-03 17:32:18 +01:00
Jacopo Cappellato 1e73375bbb Fixed: Extend the thru date of the demo financial period (and simplify
some related demo data for easier future maintenance) in order to fix
some tests that are failing in the new year.
2020-01-03 17:17:18 +01:00
Jacques Le Roux e707e94839 Improved: Equivalent of svn:auto-props properties on the server
(OFBIZ-OFBIZ-11279)

We should have an equivalent of svn:auto-props properties on the server:
https://help.github.com/articles/dealing-with-line-endings/#per-repository-settings
2019-12-19 13:38:22 +01:00
Samuel Trégouët 6facc0e73d Fixed: Use ‘WebAppUtil#parseWebXmlFile’ when handling “web.xml” files
(OFBIZ-6993)

# Conflict handled by hand in:
#	framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CatalinaContainer.java
2019-12-19 08:47:13 +01:00
Mathieu Lirzin 3cd7a3e9e9 Fixed: Display file name in XML parsing errors
(OFBIZ-6993)
2019-12-19 06:52:55 +01:00
Jacques Le Roux adceb71a39 Normalize all the line endings 2019-12-19 06:46:36 +01:00
Jacques Le Roux c071fb0ee9 Saving files before refreshing line endings 2019-12-19 06:45:58 +01:00
Pawan Verma 2e87ed1065 Fixed: Add button for 'Gift Message is shown on completed order
(OFBIZ-11160)

Thanks: Pierre Smits for report and Shivanand Chhatre for the fix.
2019-12-12 16:09:31 +05:30
Jacques Le Roux 055d1251b8 Fixed: https://github.com/apache/ofbiz-framework/pull/3
Just fixes a typo I guess people from Indonesia and Yogyakarta did not see
it yet, so I did not create a Jira
2019-12-01 12:36:47 +01:00
Mathieu Lirzin 2ba7a849dd Reverted: "Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)"
This reverts commit d1c037dca1.
2019-11-27 21:31:06 +01:00
Samuel Trégouët d1c037dca1 Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)
these declarations avoid SAXParseException traceback when parsing web.xml
the first time in WebappUtil.parseWebXmlFile
2019-11-27 17:47:42 +01:00
Jacques Le Roux 9e8db09466 Fixed: Number problem cancelling order item
(OFBIZ-11283)

If an order item has a quantity greater then 1000, cancelling the order item via
the order form in backend does not work.

In the Demo (trunk) environment: the quantity of 1200 to cancel is displayed as
"1,200" in the quantity input field.
--> an error is displayed

On my local installation I use a different locale and it is displayed as "1.200".
--> interprets the dot as a comma and the quantity of 1,2 is cancelled

Create Order: Order Mgt --> Order Entry --> Sales Order (Customer: DemoCustomer)
--> ProductId: GZ-2644, Quantity 1200 --> Finalize order
On order: Edit Items --> click checkbox next to quantity -->cancel selected items

jleroux: I have applied the same in ReceiveInventory.ftl

Thanks: Ingo Wolfmayr for report and test. Ankush Upadhyay for the fix
2019-11-25 10:34:35 +01:00
Pawan Verma 3d05f5ae28 Fixed: liniting issues introduced by commit d00208c
(OFBIZ-10585)

Thanks: Mathieu Lirzin for report
2019-11-25 12:57:34 +05:30
Pawan Verma f249f27382 Fixed: Corrected variable name. Nothing functional.
(OFBIZ-10585)
2019-11-23 12:37:45 +05:30
Pawan Verma 59079010a1 Fixed: Production run not created for marketing package auto type product if component inventory is not available
(OFBIZ-10585)

When we create an order for marketing package auto, the system checks the component inventory and if found then it creates the production run job and produce marketing package inventory, but if component quantity not available then it does not create the job. So if we don't have an inventory item of component then production run should be created with created status.

Thanks: Yashwant Dhakad for report and Ankush Upadhyay for the patch.
2019-11-23 12:18:10 +05:30
Pawan Verma 32dcdd744c Fixed: Error while CSR creates a return
(OFBIZ-11068)

Added check to validate Payment Method passed from UI while creating return. If not available in system, throw an error.

Thanks: Dikpal Kanungo for report and Rohit Hukkeri for the patch.
2019-11-23 11:13:19 +05:30
Nicolas Malin 3a5175ff45 Fixed: Usage of 'include-form' instead of 'include-grid' in PartyScreens.xml for grid elements
(OFBIZ-11286)

In PartyScreens.xml there were 'ListInvoicesApplPayments', 'ListUnAppliedInvoices' and 'ListUnAppliedPayments' include as form instead of grid but in PartyForms.xml they are defined as grids.

Thanks to Ulrich Heidfeld to raise and solve this issue
2019-11-22 15:32:40 +01:00
Jacques Le Roux 773722e30e No functional change
Removes new line added to test Buildbot config after INFRA-19443
2019-11-21 08:32:29 +01:00
Jacques Le Roux 97744a4cc7 No functional change
Just a new line added to test Buildbot config after INFRA-19443
2019-11-21 08:31:37 +01:00
Jacopo Cappellato f90829fb8b Fixed: Add missing view permissions checks to various screens. 2019-11-16 08:25:33 +01:00
Jacques Le Roux 8ea3cd2385 Fixed: We have build problems in branches with plugins
(OFBIZ-11284)

Replaces trunk link by branch link
2019-11-15 17:38:04 +01:00
Nicolas Malin 372e68a5e4 Fixed: Possible NPE in StringUtil#strToMap
(OFBIZ-11281)

StringUtil#strToMap(String, String, boolean, String) throws Nullpointer for StringUtil.strToMap("", false).

Thanks to Ulrich Heidfeld for this fix
2019-11-14 09:16:47 +01:00
Jacques Le Roux 53faf82d46 Improved: SeoContextFilter.java is not able to handle query strings
(OFBIZ-11278)

Removes a trailing blank and uses empty to check request::getParameterMap result

Thanks: Mathieu to spot "empty to check request::getParameterMap result"
2019-11-10 10:49:05 +01:00
Jacques Le Roux 0d6bfb2ca8 Fixed: SeoContextFilter.java is not able to handle query strings
(OFBIZ-11278)

While working on OFBIZ-9804 (verification email for Newsletter) I was confronted
with misc. issues. One of them was that SeoContextFilter.java was not handling
query strings.

This fixes it
2019-11-09 22:08:45 +01:00
Jacques Le Roux 38fd13edbe Fixed: baseEcommerceSecureUrl does not work in ecomseo.
(OFBIZ-11267)

This fixes it by introducing a new pattern in SeoConfig.xml

(cherry picked from commit 8f4cfeb951)
2019-11-07 17:52:19 +01:00
Jacques Le Roux 6c3f5ad3f5 Fixed: Getting policy error while editing html text data using cms
(OFBIZ-11265)

Service parameter with allow-html="safe" does not check the OWASP sanitizer flag
ie. enabled or not and perform sanitization which causing policy error while
editing text data

getting following exception error:
"In field [textData] by our input policy, your input has not been accepted for
security reason. Please check and modify accordingly, thanks."

Thanks: Pradeep Choudhary for report and suggestion
(cherry picked from commit 8aea160e04)
2019-11-07 17:39:08 +01:00
Jacques Le Roux edcbc204a7 Fixed: Update the SvnCheckout Gradle task to used Github svn repo
(OFBIZ-11276)

Relies on a Github specific feature which allows to use and automated
mirrored svn repo.
2019-11-06 19:09:24 +01:00
Jacques Le Roux dbccb05c16 "Applied fix from trunk for revision: 1869001"
------------------------------------------------------------------------
r1869001 | mthl | 2019-10-26 16:42:02 +0200 (sam. 26 oct. 2019) | 9 lignes

Fixed: Handle whitelist of serializable classes from properties
(OFBIZ-11261)

There was a bug regarding the way the ‘ListOfSafeObjectsForInputStream’ value
defined in the “SafeObjectInputStream.properties” file was handled.  Mistakenly
only one class identifier was allowed.

Some unit tests have been added to check that the identified bug is fixed.

------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1869032 13f79535-47bb-0310-9956-ffa450edef68
2019-10-27 09:35:29 +00:00
Jacques Le Roux bf2644babd "Applied fix from trunk for revision: 1868611"
------------------------------------------------------------------------
r1868611 | jleroux | 2019-10-19 08:42:07 +0200 (sam. 19 oct. 2019) | 11 lignes

Improved: Handling tenant in XmlRpcEventHandler
(OFBIZ-10284)

The XMLRPC service does not support tenants. Even if the tenant domain is 
included in the HTTP request the call does not affect the correct tenant. 
The issue and fix has been discussed in  in the thread
https://markmail.org/message/bz4dofrxqp6i7ove

jleroux: I was able to port the R16 patch provided by Rajesh to the trunk. 

Thanks: Rajesh Kumar Mallah
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868613 13f79535-47bb-0310-9956-ffa450edef68
2019-10-19 06:58:10 +00:00
Jacques Le Roux c67a31aec7 "Applied fix from trunk for revision: 1868553"
------------------------------------------------------------------------
r1868553 | jleroux | 2019-10-17 16:26:42 +0200 (jeu. 17 oct. 2019) | 14 lignes

Fixed: FTL error for purchase order with Bulk Item Type
(OFBIZ-11252)

Steps to regenerate:
1. Login into the ordermgr application and click on Order Entry tab
2. Create PO with any supplier
3. Fill details and click on Continue
4. Now select Product Category with Item type Bulk and add the description and 
   Click on add to order
5.  Finalize order with Finalize Order button
6. Add Term type, ship group option, etc details and create Order.
7. Scroll down to Order Items section and See the FTL error on the screen.

Thanks: Devanshu Vyas
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868555 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 14:27:42 +00:00
Jacques Le Roux 9ea1bf3b79 "Applied fix from trunk for revision: 1868545"
------------------------------------------------------------------------
r1868545 | jleroux | 2019-10-17 14:19:33 +0200 (jeu. 17 oct. 2019) | 16 lignes

Fixed: EditExample always update status, because current Status not shown
(OFBIZ-11230)

In the EditExample Form, the drop-down is populates with the Valid change status 
only. So current status is not in the list and the status print in the drop-down 
is the next authorized. I want to modify exampleName or exampleType, I go to 
editExample and change what I want and validate. The problem is status is also 
changed!

There are 12 other same or similar cases. For the first of them (in FinAccount) 
there is the same bug: when I change FinAccount Name, status change too. If I 
add current="first-in-list" in the tag drop-down it works 

jleroux: Quote is a peculiar case due to OFBIZ-7337 which was a wrong fix
 
Thanks: Oliver for the analysis and the fix 
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868548 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 12:20:28 +00:00
Jacques Le Roux 2c5452b2f9 Improved: no functional change
Just better English in message

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868424 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 07:20:56 +00:00
Jacques Le Roux 52f5360b51 "Applied fix from trunk for revision: 1868395"
------------------------------------------------------------------------
r1868395 | jleroux | 2019-10-13 12:37:08 +0200 (dim. 13 oct. 2019) | 8 lignes

Fixed: Merge UrlRegexpTransform and OfbizUrlTransform classes
(OFBIZ-11229)

OFBIZ-4361 depends on this issue. Here is a first version, the main identified 
point was when the request isn't present (email send, service call) the website 
isn't pull from context. This solves this aspect

Thanks: Nicolas for the patch
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868397 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 10:40:16 +00:00
Jacques Le Roux 12d96cebe9 "Applied fix from trunk for revision: 1868298"
------------------------------------------------------------------------
r1868298 | jleroux | 2019-10-11 18:45:16 +0200 (ven. 11 oct. 2019) | 20 lignes

Fixed: NotSerializableException after uploading images to an order
(OFBIZ-11123)

I found that using in r1866259 the same fix than Si Chen used in OFBIZ-750 was 
wrong. The code just above this fix is

{code:java}
if (obj instanceof Serializable) {
    reqAttrMap.put(name, obj);
}
{code}

The problem with this code is that if does not handle inner Maps which may 
contain a non Serializable Object. So the solution is rather to get one level
deeper and apply the same. We can then remove the harcoded lines with 
"uploadedFile" and "_REQUEST_HANDLER_" below. Then all possible cases are handled
as long as we have not inner-inner-Maps



------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868300 13f79535-47bb-0310-9956-ffa450edef68
2019-10-11 16:45:58 +00:00
Jacques Le Roux 8f6dde8d45 Improved: no functional change
As reported by Ethan Vos on user ML, sometimes the alias between wget and 
Invoke-WebRequest is not present on Windows 7, better keep it simple!

Also removes the comment:
  Anyway I believe this should be only used in dev environment
which is no longer true

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1868000 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 08:10:03 +00:00
Pawan Verma 30bc63b676 Applied fix from trunk for revision: 1867972
===

Reverted: User is unable to update the review of product
(OFBIZ-10799)

Reverted rev 1867904

Thanks: Deepak Dixit for reporting the issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867974 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 10:16:40 +00:00
Pawan Verma 9a3054c842 Applied fix from trunk for revision: 1867937
===

'At least one phone number is required below' message should be uneditable while creating new customer using partymgr
(OFBIZ-11113)

Thanks: Arpit Mor for report and Saurabh Dixit for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867940 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:37:57 +00:00
Pawan Verma 6cf23e4c4c Applied fix from trunk for revision: 1867930
===

Fixed: Check run payment(A/P) transactions not getting available for reconciliation
(OFBIZ-10796)

Check run payment group transactions don't get available for Financial Account reconciliation. Though the financial account balance gets updated during the A/P check run process, the system must allow the user with an additional step of reconciling the transactions.

The cause of this is that the financial account transaction doesn't get created in the 'Created' status and has an 'Approved' status. An approved status financial transaction directly updates the financial account balance and thus don't appear in the list of the transactions to be reconciled.

Thanks: Chinmay Patidar for your contribution and Pierre Smits for the review.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867932 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:06:41 +00:00
Pawan Verma 6ace63f0d6 Applied fix from trunk for revision: 1867910
===

Fixed: Sales By Store Report not working
(OFBIZ-11119)

Added Null check to avoid Exception.

Thanks: Chandan Khandelwal for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867912 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 07:35:14 +00:00
Pawan Verma 69482b7acc Applied fix from trunk for revision: 1867904
===

Fixed: User is unable to update the review of product
(OFBIZ-10799)

Redirected request with eligible parameters so that If the user had a search using any parameter result should persist after the update.

Thanks: Ashish Sharma for report and Pierre Smits and Jacques Le Roux for the review.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867906 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 07:23:03 +00:00
Aditya Sharma f6db33b35b Applied fix from trunk for revision: 1867745
===

Fixed: redundant license text


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1867747 13f79535-47bb-0310-9956-ffa450edef68
2019-09-30 06:51:12 +00:00