Commit Graph
4365 Commits
Author SHA1 Message Date
Pranay Pandey 06caedf26a Improved: E-commerce : FTL formatting.
(OFBIZ-7949)

For improved FTL code readability. Here is the first patch for the effort. There are still files which are required to be formatted. 

Thanks: Vaibhav Jain for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761135 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:17:15 +00:00
Michael Brohl 479115f0bd Improved: Scrum: Consistent form name.
(OFBIZ-8108)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761111 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:45:08 +00:00
Michael Brohl 9116e765d6 Improved: Projectmgr: Consistent form name.
(OFBIZ-8107)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761110 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:34:20 +00:00
Michael Brohl 5fd4c91f44 Improved: Lucene: Consistent form name.
(OFBIZ-8106)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761109 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:31:43 +00:00
Michael Brohl cebf4c5e5c Improved: Ecommerce: Consistent form name.
(OFBIZ-8105)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761108 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:29:26 +00:00
Michael Brohl 4dc2dd421c Improved: Ebaystore: Consistent form name.
(OFBIZ-8104)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761107 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:26:05 +00:00
Michael Brohl 256efc05e9 Improved: Bi: Consistent form name.
(OFBIZ-8103)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761106 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:22:48 +00:00
Michael Brohl de71918d72 Improved: Assetmaint: Consistent form name.
(OFBIZ-8101)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761105 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 22:19:54 +00:00
Michael Brohl 5246f49bfd Improved: Party: Consistent form name.
(OFBIZ-8088)

Change all form names to upper camel case for consistency. I have slightly modified the patch to have camel case also for the LookupParty form in PartyForms.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761100 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:52:52 +00:00
Michael Brohl 018eb1393a Improved: Order: Consistent form name.
(OFBIZ-8078)

Change all form names to upper camel case for consistency. I have slightly modified the patch to remove a typo (LookupOrderHeader instead of LSookupOrderHeader) in LookupScreens.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761095 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:31:05 +00:00
Jacques Le Roux 2e7cc7a471 Fixes: The entity description labels are considered not used by the Label Manager
(OFBIZ-8154)

It's a pity, because of the translations, but the labels starting by "HumanResServices.", which dates from pre Apache era, are not used OOTB, so I remove them here
.portalPageName. is used by demo data
ProductStoreGroup.productStoreGroupName.NA is used as data by ProductTypeData.xml
FormFieldTitle_timesheetPartyId in ProjectMgrUiLabels.xml seems an error. As it duplicates the same in AccountingUiLabels.xml, which is accurate, I remove it from ProjectMgrUiLabels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760995 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 05:58:15 +00:00
Jacopo Cappellato ec90de6afc Improved: modified classes to use the FORWARDED_FROM_SERVLET constant
defined in the new ControlFilter class.

The old constant defined in ContextFilter will soon be removed together with the 
debug field, that is not currently used.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760949 13f79535-47bb-0310-9956-ffa450edef68
2016-09-15 15:35:05 +00:00
Shi Jinghai 50418a716d Fix for View screen in Apache Solr Integration Component is broken (OFBIZ-8225).
The duplicated login form is caused by not return after ContextFilter do the filter.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760463 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 01:02:06 +00:00
Jacques Le Roux 2c2a7beb0b Fixes: Display of State/Province for non US entities in the customer's profile of ecommerce
(OFBIZ-8231)

When I access url https://localhost:8443/ecommerce/control/viewprofile for my profile, State/Province display in addresses shows the geo-id, which is fine for US entities where the GeoID is the state code, but for non-us entities, the GeoID is often something like CountryCode-StateCode, which isn't very nice.

Thanks: fumiyoshi.to for report and patch

jleroux: I have slightly changed the patch for 2 reasons:
* check for null exceptions
* use not deprecated version of getRelatedOne()

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760406 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 16:47:53 +00:00
Michael Brohl ea40ea08bd Improved: Consistent menu names
(OFBIZ-8118)(OFBIZ-8122)(OFBIZ-8123)(OFBIZ-8124)(OFBIZ-8125)(OFBIZ-8126)(OFBIZ-8127)(OFBIZ-8128)(OFBIZ-8129)

Menu names should be in camel case to maintain consistency. I've slightly modified the provided patch to eliminate names with "-" or all lower case also.

Thanks: Tanmay Muley for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760059 13f79535-47bb-0310-9956-ffa450edef68
2016-09-09 16:11:55 +00:00
Jacopo Cappellato d67f8ed8af Removed several jar files and a script that didn't seem to be used and were not mentioned in our LICENSE files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759593 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 11:55:19 +00:00
Jacopo Cappellato 72ed04093b Removed the jars from "eBay SDK for Java", that are licensed under CDDL which is a license that is not fully compatible with ASL2.0, and disabled the component.
Added instructions about how to run it to the component's README file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759583 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 10:52:19 +00:00
Shi Jinghai 47af5d2199 Clean OFBizSolrContextFilter.java to follow ContextFilter.java's changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759401 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 10:05:59 +00:00
Deepak Dixit 3c9d5b0230 (OFBIZ-8009) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in ebaystore component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759087 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:32:04 +00:00
Deepak Dixit 44ef2924db (OFBIZ-8004) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in solr component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759086 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:29:21 +00:00
Deepak Dixit 0db402526d (OFBIZ-7997) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in scrum component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759085 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:24:49 +00:00
Deepak Dixit 727833cdb9 (OFBIZ-7993) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in oagis component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759083 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:22:15 +00:00
Deepak Dixit 96371e329f (OFBIZ-7991) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in example component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759081 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:14:36 +00:00
Deepak Dixit b3efdbfc73 (OFBIZ-7990) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in ebay component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759080 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:11:21 +00:00
Deepak Dixit 9ed1111a39 (OFBIZ-7979) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in birt component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1759079 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:04:24 +00:00
Jacques Le Roux d85610311d Fixes "a bunch of small leaks (closes missing, reported as warnings in Eclipse)" - https://issues.apache.org/jira/browse/OFBIZ-8115
At r1758927 I tried to fixe a bunch of closes missing, reported as warnings in Eclipse

Jacopo noticed and reported on dev ML http://markmail.org/message/b4hvzi7foftfq3j5 2 possible issues:
1) you are adding a close statement to code that already had the close statement in the "finally" block; your modification actually introduces a code pattern that is not correct (if an exception is thrown your close statement are not executed)
2) I suspect that you are closing the socket connection too early in PcChargeApi

1)The best option when closing resources (which implement AutoCloseable) is actually to use the try-with-resources statement. At least when there are no performance issues.
I have fixed the issue (only in DatabaseUtil.java) this way because
* there are not performance issues, we anyway create a Statement in both cases, we don't reuse one.
* The finally part is cleaner

I have also used the try-with-resources statement in other places where it fitted.

There is only 1 place where I was undecided: ScriptUtil.parseScript() which uses GroovyUtil.parseClass().
I put only a logError() there and returned null. 
I did not throw an IOException because else it spreads everywhere in FlexibleStringExpander.
Here introducing Optional would be better, but I have no time or that today.

2) was not a problem


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758951 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 13:18:35 +00:00
Jacques Le Roux f0b3a97ea5 A patch from Pierre Smits for "Maximise the utilisation of the Label CommonStatus in various ecommerce forms" https://issues.apache.org/jira/browse/OFBIZ-8102
There are forms in the ecommerce component referencing the status. This issue is about applying the CommonLabel label where it is possible in these forms.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758774 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 13:34:17 +00:00
Jacques Le Roux d74097a58e Fixes a typo introduced with r1758702
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758738 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 09:00:48 +00:00
Jacques Le Roux 354e809e29 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
After commit, please rename readme files of components
manufacturing
assetmaint
birt
ecommerce
lucene
myportal
passport
projectmgr
scrum
solr

jleroux: Due to content I guess Pierre meant to add the .md suffix
I have also removed the useless ASL2 header of example/lib/README file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758702 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 05:11:45 +00:00
Jacques Le Roux 856de5ec8e A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
Legal statements are not required in readme files, as per consensus in dev mail thread with title 'Shorter ASL2 header in short files'. The mail thread started here: http://ofbiz.markmail.org/message/pc5bzrsiupef7xjt

jleroux: 
I modified 
  the accounting/lib/README file
  the example/lib/README file
Formatted the Birt README file



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758700 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 04:53:40 +00:00
Pranay Pandey e44ba95d72 [OFBIZ-7311] - Applied the patch from the ticket. Removing the unused references of the maincss.css from source code, following is done-
1) Removed 'maincss.css' entry from 'allowedPaths' param of from web.xml
Reason: Since, there is no file like 'maincss.css' exist under any includes directory. 
2) Removed the unused references of maincss.css from FTLs, code
<link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/> 
has been removed.
Reason: This is an interesting thing, these FTLs were using the maincss.css located under the images directory.
When I look the history of these files, following were my findings,
The 'maincss.css' file under the 'images' directory exist in release4.0 
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0/framework/images/webapp/images/
after this release, this files no longer exist there.
3) Also, I have updated one file 'InventoryNoticeEmail.ftl' and used the basic HTML code to style, instead of using style defined in 'maincss.css' which were exist in release-4.0
4) Updated some references from 'maincss.css' to style.css in comments.
5) Also removed the entry of including '/images/maincss.css' and '/images/mainrtl.css' in SimpleDecorator
Since, these files no longer exist after release-4.0.

Thanks Wai for reviewing the work and thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758389 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 13:37:27 +00:00
Jacques Le Roux dc2f036a10 A patch from Florian Montalbano for "Allow Gantt function to compute task with non-numerical ID" https://issues.apache.org/jira/browse/OFBIZ-7971
The Gantt diagram is not generated when at least one of the taks composing it has a non-numerical workEffortId (e.g. A10001).
When importing data or using duplication of workEffort, you can use such id.

How to reproduce :
- Check the Gantt diagram, it should be working fine : https://localhost:8443/projectmgr/control/ganttChart?projectId=9100 

- Create a task with a non-numerical id for the project 9100 or iImport this entry :
<entity-engine-xml>
<WorkEffort workEffortId="A1000" sequenceNum="1" workEffortTypeId="TASK" currentStatusId="PTS_CREATED" lastStatusUpdate="2007-12-14 16:45:21.831" workEffortParentId="9101" scopeEnumId="WES_PRIVATE" workEffortName="ProblemTask" estimatedStartDate="2007-12-03 00:00:00.0" estimatedCompletionDate="2007-12-05 00:00:00.0" revisionNumber="1"/>
</entity-engine-xml>

- Check the Gantt diagram again and now it's failing : https://localhost:8443/projectmgr/control/ganttChart?projectId=9100
(there is an error in the javascript console)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758101 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 10:17:04 +00:00
Jacques Le Roux 70c8f917cf Removes obsolete information, LICENSE file: jars have no longer paths files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758088 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 04:45:05 +00:00
Jacques Le Roux 90ff77ec09 A patch from Pierre Smits for "Improve Dutch labels for projectmgr component" https://issues.apache.org/jira/browse/OFBIZ-8010
jleroux: I let Hans double-check for the vocabulary


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758063 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 18:25:44 +00:00
Deepak Dixit 698e788fad (OFBIZ-7833) Applied patch from jira issue
================================
Redundant options at select filter on find screens
================================
Thanks Deepak N and Renuka for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758032 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:43:34 +00:00
Deepak Dixit cfe466db32 (OFBIZ-7674) Applied patch from jira issue
================================
Unable to perform search at "eBay Orders Import" screen of eBay component
================================
Thanks Pawan for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1758017 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 12:47:40 +00:00
Arun Patidar 8cbc74d3ca Applied patch from jira issue - OFBIZ-7915 - Enforce noninstantiability to CategoryUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757984 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 10:36:36 +00:00
Arun Patidar aa45b756f9 Applied patch from jira issue - OFBIZ-7914 - Enforce noninstantiability to ProductUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757983 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 10:25:23 +00:00
Arun Patidar 89b872cf7e Applied patch from jira issue - OFBIZ-7912 - Enforce noninstantiability to ServiceUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757979 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 09:45:23 +00:00
Deepak Dixit adc715c257 (OFBIZ-7625) Added file missing in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757961 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:47:32 +00:00
Deepak Dixit 84a2c23810 (OFBIZ-7625) Applied patch from jira issue
===================================
Add "changeByUserLoginId" field for ExampleStatus
===================================
Thanks Nameet and Renuka for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757960 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:42:02 +00:00
Mridul Pathak 3992651d52 [OFBIZ-7981] Index.jsp is missing for BI component. Thanks Vishal Chhabria for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757957 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 07:19:35 +00:00
Jacques Le Roux f9c9d7a5f6 A 1st step for "Upgrade Tomcat to 8.5.3 (or 8.0.36)" - https://issues.apache.org/jira/browse/OFBIZ-7348
This is a security issue which was pending for too long. It only updates Tomcat to 8.0.36 because I got issues with 8.5.3 when just changing to 8.0.36 in build.gradle files worked.

I also changed the version number in LICENSE, even if some libs are only downloaded by Gradle as dependencies of the main present in build.gradle, this is a WIP.

I have investigated if we really need to have all the external jar libs in LICENSE even if we don't deliver them in 1st place, but are still used when building, see http://markmail.org/message/emnu6s5wu2yuyith


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1757318 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:35:32 +00:00
Arun Patidar c53cbd8122 Applied patch from jira issue - OFBIZ-7946 - Data load error on Web Pos component due to removal of POS component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1755393 13f79535-47bb-0310-9956-ffa450edef68
2016-08-06 12:04:33 +00:00
Jacques Le Roux 9179f9c8ba Fixes "Remove warnings regarding missing component lib folders" - https://issues.apache.org/jira/browse/OFBIZ-7776 - by cleaning/clearing the references to non existent/empty dirs.
Notes: 
* Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)
* When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml
* I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?
 
    



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1755306 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:27:21 +00:00
Mridul Pathak d50b5b7c6f [OFBIZ-7902] Remove system generated fields from data files of ecommerce component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1755304 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:08:28 +00:00
Mridul Pathak 1f07a4dd4b [OFBIZ-7905] Remove system generated fields from data files of Scrum component. Thanks Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1755303 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:07:35 +00:00
Jacques Le Roux e65f7ff978 Reverts r1752863, once again I applied a patch when moving SeoConfig.xml to e-commerce for OFBIZ-6125. I should have moved the file myself locally and committed directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1755032 13f79535-47bb-0310-9956-ffa450edef68
2016-08-03 07:30:35 +00:00
Jacques Le Roux ec538f6f01 A patch from Florian Montalbano for "Improve the Marketing Demo data" https://issues.apache.org/jira/browse/OFBIZ-7923
In the following issue : OFBIZ-7922, there was a problem with the pagination of the Marketing Campaign list. Because there is not enough data in the demo, it was more difficult to find this bug.
To help the testing of this component, this adds some Marketing Campaign in the demo data (at least enough to unlock a second page of search).

jleroux: Actually you don't even have to add more data. The size of the list is defined by this property in widget.properties

# Default number of items to be displayed per page in a list form
widget.form.defaultViewSize=20

Locally you can change that by hand, clear caches, et voilà. 

Now if we would like to have the same on demos we would need to have this property in the DB and use EntityUtilProperties.getPropertyNumber() to retrieve where it's done at the moment. Unfortunately EntityUtilProperties.getPropertyNumber() simply uses for the moment UtilProperties.getPropertyNumber() so it means more work than adding those data. But once done, it's for all (though you would still have to replace the calls where UtilProperties is used instead of EntityUtilProperties. I don't remember if we have an umbrella task ans subtasks for that. It seems though a long term work, because we have much properties likely to benefit from this possibility.

Another KISS option: maybe simply testing locally is sufficient ;)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1754657 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 12:18:16 +00:00
Jacques Le Roux 4417afdfd3 An improving patch from Florian Montalbano for "Scrum find Total Backlog Item is not working in non-English language" https://issues.apache.org/jira/browse/OFBIZ-7929
I put it all in this new version of the patch :
    Changed UtilValidate test to Groovy Truth test on string
    Changed the big first test by a test on "noConditionFind"
    Added some comments
    Harmonization of the "if tests"
    Removed the uiLabelMap.CommonAny in the file (the two others belonged to another form --> "FindTotalBacklog")
    Added a "noConditionFind" field to this form --> "FindTotalBacklog"

jleroux: I removed all remaining tabs in FindProductBacklogItem.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1754656 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 12:13:03 +00:00