=================================
Add "changeByUserLoginId" field for PartyStatus
=================================
Thanks Nameet for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759012 13f79535-47bb-0310-9956-ffa450edef68
================================
Print PDF functionality throws exception on Inventory Average Cost screen
================================
Thanks Avnindra Sharma for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758997 13f79535-47bb-0310-9956-ffa450edef68
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@1758951 13f79535-47bb-0310-9956-ffa450edef68
Fixes a bunch of small leaks (closes missing, only warnings in Eclipse)
By-product: automatically sort few imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758927 13f79535-47bb-0310-9956-ffa450edef68
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@1758774 13f79535-47bb-0310-9956-ffa450edef68
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@1758702 13f79535-47bb-0310-9956-ffa450edef68
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@1758700 13f79535-47bb-0310-9956-ffa450edef68
This is a bug in which createTenant crashes due to groovy gstring
evaluation where a string is needed. The fix is simple by removing
gstring and passing variables directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758662 13f79535-47bb-0310-9956-ffa450edef68
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@1758389 13f79535-47bb-0310-9956-ffa450edef68
================================
Create a Customer fails because password is missing
================================
Thanks Montalbano Florian and Supatthra Nawicha for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758280 13f79535-47bb-0310-9956-ffa450edef68
For some reason we completely forgot to add the themes as gradle sub projects.
The current implementation of gradle treats every component as a sub project
and all themes are ofbiz components, and as such should be sub projects as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758102 13f79535-47bb-0310-9956-ffa450edef68
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@1758101 13f79535-47bb-0310-9956-ffa450edef68
The TransactionTotalsPdf.pdf currently doesn't show the name of the company it has been generated for.
jleroux: I asked Pierre to check that "Aree we sure that the changes in Simple.fo.ftl are general enough? I mean did you check that they will not appear in inopportune places?"
Pierre's answer: Checked against most occurrences where the SimpleDecorator is used. A few weren't possible to check due to missing demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758091 13f79535-47bb-0310-9956-ffa450edef68
When user cancel shipment receipt on PO it calls the service cancelReceivedItems that should revert inventory received. It doubles it instead because expression ${-1 * inventoryItem.quantityOnHandTotal} does not work really and does not return negative value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758089 13f79535-47bb-0310-9956-ffa450edef68
Thanks Sumit for creating the issue and providing initial patch. Thanks Ravi for providing the latest patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758041 13f79535-47bb-0310-9956-ffa450edef68
================================
Add "changeByUserLoginId" field for RequirementStatus
================================
Thanks Nameet for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758035 13f79535-47bb-0310-9956-ffa450edef68
================================
Add "changeByUserLoginId" field for ContactListCommStatus
================================
Thanks Nameet for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758033 13f79535-47bb-0310-9956-ffa450edef68
================================
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@1758032 13f79535-47bb-0310-9956-ffa450edef68