Commit Graph
27737 Commits
Author SHA1 Message Date
Deepak Dixit adf34f08e1 Improved: While fetching product inventory, it should also return accounting quantity as well. Applied patch from jira issue (While fetching product inventory, it should also return accounting quantity as well)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812385 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 11:16:02 +00:00
Deepak Dixit 2a8a37f308 Improved: Manage life span of SecurityGroupPermission entity.
Applied patch from jira issue(OFBIZ-9801) Thanks Suraj Khurana for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812383 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:47:47 +00:00
Deepak Dixit 9715eb8932 Improved: Proper use of if-has-permission, Apply slightly modified patch from jira issue, if if-has-permission uses _ADMIN permission to check condition, so its good to have old pattern instead of using permission/action pattern.
Thanks Suraj Khurana for your contribution(OFBIZ-9740)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812381 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 09:58:24 +00:00
Deepak Dixit 829856e5f6 Improved: Usage of factory method or Builder pattern for Locale object creation and usage.
Thanks Yash Sharma for your contribution. (OFBIZ-9488)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812350 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 06:06:56 +00:00
Deepak Dixit 1620e4e0ca Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:14 +00:00
Deepak Dixit c2c47188b7 Fixed: Added missing license header in some files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812289 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 12:22:33 +00:00
Deepak Dixit c559bc00c8 Fixed: Corrected elseif tag closing in GenericSurvey.ftl file found this while working on OFBIZ-9254
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812287 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:56:21 +00:00
Deepak Dixit d310aaf2cd Improved: Inconsistent String Comparisons, Applied patch for ftl file.
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:31:40 +00:00
Deepak Dixit 761959d47d Inconsistent String Comparisons, Applied patch for framework entityext, webapp, webtools and widgets classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812279 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 10:32:22 +00:00
Deepak Dixit 8dceb2fc0a Inconsistent String Comparisons, Applied patch for framework service classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812264 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 09:25:36 +00:00
Deepak Dixit c7ac6f4c91 Inconsistent String Comparisons, Applied patch for Applications order classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812262 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 09:16:07 +00:00
Deepak Dixit 21db6bde25 Inconsistent String Comparisons, Applied patch for Application party and workeffort classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812260 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 09:07:36 +00:00
Deepak Dixit 3b30c4501a Inconsistent String Comparisons, Applied patch for Application order classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812259 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 08:35:06 +00:00
Deepak Dixit 0bff35af99 Inconsistent String Comparisons, Applied patch for framework entity classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812257 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 08:25:33 +00:00
Deepak Dixit 33e4d8412b Inconsistent String Comparisons, Applied patch for Application content classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812256 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 08:19:31 +00:00
Deepak Dixit ba75a0f648 Inconsistent String Comparisons, Applied patch for framework base classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812255 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 08:09:25 +00:00
Deepak Dixit 3d53c5dd6c Improved: Inconsistent String Comparisons, Applied patch for accounting java files.
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812244 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 06:52:34 +00:00
Jacques Le Roux 15deb25aae No functional change, fixes wrong ASL2 headers I introduced recently
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812235 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 21:02:52 +00:00
Jacques Le Roux bf092f9c6e Fixed: GlAccountOrganizations manually added using accounting forms do not
appear on trial report because fromDate gets set to NULL
(OFBIZ-5938)

This was broken again when changing the createGlAccountOrganization service 
to entity-auto

Thanks: Rajesh Kumar Mallah for reporting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812226 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 17:53:04 +00:00
Jacques Le Roux 2382cd9cbd No functional change, these files were missing the ASL2 header
I stop here, please help at https://ci.apache.org/projects/ofbiz/rat-output.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812225 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 17:40:59 +00:00
Michael Brohl 934a0d86ff Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.widget.cache.
(OFBIZ-9695)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812164 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 21:05:55 +00:00
Michael Brohl ace34aa4f7 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.semaphore.
(OFBIZ-9693)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812163 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 20:57:01 +00:00
Michael Brohl 8d4dd73dd3 Improved: Update build.gradle to the latest dependencies.
(OFBIZ-9674)

Thanks Julian Leichert for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812161 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 20:42:25 +00:00
Deepak Dixit 2379a08cdd Improved: Removed unused theme related data, also fix the ofbiz logo for bluelight theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812160 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 20:13:29 +00:00
Deepak Dixit 0b5cce399a Improved: Moved some utility js files from images to common-theme/js/util
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812158 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 18:50:43 +00:00
Jacques Le Roux 8f74333bc3 Improved: Implement AutoCloseable interface in SQLProcessor Class
(OFBIZ-9841)

Added AutoCloseable interface to SQLProcessor class and overridden Close method
Added closing of ResultSet, PreparedStatement and Connection Objects.
While calling SQLProcessor object in GenericDAO used Try-with-Resources and 
removed unnecessary calls of the same object before actual use, also removed 
finally blocks for method invocation. 

Thanks: Pradhan Yash Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812144 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 15:32:38 +00:00
Jacques Le Roux 20e8b43214 Improved: Using try-with-resources with JDBC objects
(OFBIZ-9839)

Use try with resources for SQL objects like ResultSet and other objects. 
SQL classes have AutoCloseable interface.

Thanks: Pradhan Yash Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812104 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 10:18:48 +00:00
Michael Brohl 1ced20acb0 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.test.
(OFBIZ-9694)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812061 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 22:54:12 +00:00
Michael Brohl 3bc917104a Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.
(OFBIZ-9692)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812059 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 22:29:10 +00:00
Michael Brohl be4b13e954 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.calendar.
(OFBIZ-9691)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812057 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 22:07:59 +00:00
Michael Brohl 8a9e3b2e7d Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.mail.
(OFBIZ-9690)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812051 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 21:18:35 +00:00
Michael Brohl 830561bfaa Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.crypto.
(OFBIZ-9689)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812049 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 20:59:59 +00:00
Deepak Dixit dedd49028a Improved: Removed some old and unused images.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811997 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 19:02:47 +00:00
Jacques Le Roux c8662d23da Fixed: Purchase Order is not getting canceled automatically if all items are
canceled
(OFBIZ-9838)

Steps to regenerate:
* Go to OrderView screen. (Purchase Order view screen)
* Click on Edit Items.
* Now cancel all the items.
* Purchase Order status does not change to Cancel status.

Reference mail [http://markmail.org/message/eghwtpym5w76bnrq]


Thanks: Renuka Srishti

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811794 13f79535-47bb-0310-9956-ffa450edef68
2017-10-11 06:02:40 +00:00
Michael Brohl e3f932eb88 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.widget.renderer.fo.
(OFBIZ-9685)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811700 13f79535-47bb-0310-9956-ffa450edef68
2017-10-10 13:50:41 +00:00
Michael Brohl 0f51376f26 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.config.model.
(OFBIZ-9682)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811699 13f79535-47bb-0310-9956-ffa450edef68
2017-10-10 13:46:42 +00:00
Michael Brohl 347201db90 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.collections.
(OFBIZ-9590)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811685 13f79535-47bb-0310-9956-ffa450edef68
2017-10-10 12:28:01 +00:00
Jacques Le Roux fa58cb36d2 No functional change
Adds a comment for the default-no-eca using the reason suggested by Nicolas on
dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811571 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 13:55:21 +00:00
Taher A. Alkhateeb f3c80f7de3 Improved: removed dependency from start component on base
Debug class should not be used directly from the start component, hence replaced
it with standard System.out.println


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811566 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 12:45:20 +00:00
Jacques Le Roux e9e0158458 Fixed: Template edit are not working correctly
(OFBIZ-9830)

jleroux: just noticed after r1811559  that the mimeTypeId was not used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811564 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 12:34:19 +00:00
Jacques Le Roux fe38302313 Fixed: Template edit are not working correctly
(OFBIZ-9830)

Steps to recreate:
1. Go to ContentManager.
2. Go to Template.
3. Click Find, then click LEFTBAR in the search result.
4. Click Edit, then we get a error page.

Thanks: fumiyoshi.to

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811559 13f79535-47bb-0310-9956-ffa450edef68
2017-10-09 12:23:04 +00:00
Michael Brohl f0771922f0 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.engine.
(OFBIZ-9688)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811468 13f79535-47bb-0310-9956-ffa450edef68
2017-10-08 10:39:01 +00:00
Michael Brohl 4303f902b4 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.group.
(OFBIZ-9684)

I modified the patch to make ServiceGroupReader#groupsCache private.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811467 13f79535-47bb-0310-9956-ffa450edef68
2017-10-08 10:28:57 +00:00
Michael Brohl 4934374b64 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.widget.renderer.html.
(OFBIZ-9686)

I modified the class further by removing all commented out code.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811439 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 16:06:24 +00:00
Michael Brohl ee46dbb019 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.common.
(OFBIZ-9681)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811438 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 15:47:59 +00:00
Michael Brohl e87607b19f Fixed: the introduction of multicatch in Converters.java which came with
r1811434 breaks MiscTests#testLoadContainedConvertersIgnoresException
which throws a RuntimeException.

Not sure if we should change the test so the fix is to reintroduce the
catch of Exception.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811437 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 15:46:38 +00:00
Michael Brohl af9cdae275 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.conversion.
(OFBIZ-9679)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811434 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 14:53:43 +00:00
Michael Brohl cf3081a277 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.common.preferences.
(OFBIZ-9640)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811433 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 14:51:43 +00:00
Michael Brohl 05697cee3d Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.catalina.container.
(OFBIZ-9639)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811432 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 14:49:16 +00:00
Michael Brohl ca51783af8 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.service.
(OFBIZ-9638)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811431 13f79535-47bb-0310-9956-ffa450edef68
2017-10-07 14:30:13 +00:00