Commit Graph
27737 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 964f58f95e Fixed typo(databaset -> database).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1508794 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 09:59:52 +00:00
Hans Bakker f85167e1ca make component list the top level menu item of 'artifacts' because loading fast. move the 'take some time' message on the lower level menu iem now renamed to 'atifact search'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1508738 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 06:26:37 +00:00
Hans Bakker 7d904526a0 missing file related to r1506836
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1508362 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 09:45:18 +00:00
Jacques Le Roux 7110862b9a Casting here should compile in all cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507972 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 08:43:25 +00:00
Jacques Le Roux 7cf8dc3df3 Of course I made a wrong C/P in r1507596
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 09:52:48 +00:00
Jacques Le Roux 62e3aa787d No functional change, temporary weird compile error workaround
There is an issue with commit r1507200. It does not compile. 
I wonder though why Buildbot did not detect it and also why my IDE (Eclipse) does not detect it and also why this fails, because the same scheme is successfully used elsewhere.

The demo compilers (1.6.26, mine is 1.6.22, ) say:

classes:
  [javac16] Compiling 11 source files to /home/ofbiz/trunk/applications/party/build/classes
  [javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2097: incompatible types
  [javac16] found   : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
  [javac16] required: java.util.Map<java.lang.String,java.lang.Object>
  [javac16]                     Map<String, Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
  [javac16]                                                                       ^
  [javac16] /home/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java:2117: incompatible types
  [javac16] found   : java.util.Map<java.lang.String,org.ofbiz.entity.GenericValue>
  [javac16] required: java.util.Map<java.lang.String,java.lang.Object>
  [javac16]                     Map<String, Object> telecomNumber = UtilMisc.toMap("userLogin", userLogin);
  [javac16]                                                                       ^
  [javac16] 2 errors


Of course replacing by
    java.util.Map<java.lang.String,java.lang.Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
as the compilers suggest does not help. I temporarily replaced by

Map<String, Object> postalAddress = new HashMap<String, Object>();
postalAddress.put("userLogin", userLogin);

Unrelated: I set my IDE to automatically clean imports...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507596 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 08:15:23 +00:00
Hans Bakker 8df9a52ca9 add a csv party import and export function to the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1507200 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 07:00:28 +00:00
Hans Bakker d3248ec21b be able to set a font for pdf generation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506836 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 07:53:29 +00:00
Jacques Le Roux 26e2c7744a A slightly modified patch from Niclas Malin for "New elements auto-parameters-[entity/service] for link/hyperlink" https://issues.apache.org/jira/browse/OFBIZ-4472
When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like :
{quote}         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <parameter param-name="exampleId"/>
                <parameter param-name="exampleFeatureId"/>
                <parameter param-name="fromDate"/>
            <hyperlink/>
         </field>
{quote}

To simplify, I introduce auto-parameters-entity like this :
{quote}
         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <auto-parameters-entity entity-name="ExampleFeatureAppl"/>
            <hyperlink/>
         </field>
{quote}
or 
{quote}
         <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl">
         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <auto-parameters-entity/>
            <hyperlink/>
         </field>
{quote}
This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link)

jleroux: I simply put returns in case of no dispatcher or delegator



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506835 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 07:52:45 +00:00
Jacques Le Roux f3a1c6455a Rhaaa another wrong C/P, better use patches really :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506828 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 07:18:03 +00:00
Jacques Le Roux e12b1f16d5 Rhaaa another typo, better use patches really :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506504 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 11:31:45 +00:00
Jacques Le Roux 083ff1d61f Completes "Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354" https://issues.apache.org/jira/browse/OFBIZ-5279
Using submitted patch as a basis.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506499 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 11:20:45 +00:00
Jacques Le Roux dff935ac8a Fixes a typo spotted out by Wei Zhang
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 06:58:48 +00:00
Jacques Le Roux a707436821 Fixes "Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354" https://issues.apache.org/jira/browse/OFBIZ-5279
Replaces 
if(!jQuery('#content-messages'))
by
if(jQuery('#content-messages').length==0)
in framework\images\webapp\images\selectall.js line #354.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506274 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 20:50:04 +00:00
Jacques Le Roux 64f269665e A patch from Petr Pytelka for "upload content at party profile is not working" https://issues.apache.org/jira/browse/OFBIZ-5202
I tried to upload content at party profile screen with purpose "Logo Image URL" and Is public "YES" but i got the following exception
---- exception report ----------------------------------------------------------
ERROR: Could not complete the Create Content Alternative URLs. [file:/media/68C2E6E0C2E6B18C/Work/Developers_foundation/Workspace/OFBiz/ofbiz/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createContentAlternativeUrl] process [problem invoking the [createContent] service with the map named [contentCtx] containing [{dataResourceId=10001, statusId=CTNT_IN_PROGRESS, localeString=en_US, userLogin=[GenericEntity:UserLogin][createdStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][createdTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][lastUpdatedTxStamp,2013-05-23 12:19:58.0(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)], locale=en_US}]: The following required parameter is missing: [IN] [createContentRole.partyId]]
Exception: org.ofbiz.service.ServiceValidationException
Message: The following required parameter is missing: [IN] [createContentRole.partyId]

jleroux: 
I see no reasons to not move the lines
<!-- Party for System UserLogin Account - just in case logic depends on it -->
<Party partyId="system" partyTypeId="PERSON"/>
<Person partyId="system" firstName="System" lastName="Account"/>

from UserDemoData.xml to SecurityPermissionSeedData.xml

This patch  allows to load data for party "system" when load-extseed is called.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506269 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 20:44:10 +00:00
Adrian Crum 9d76e3b412 Improved the parsing logic in FlexibleStringExpander.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506151 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 16:41:02 +00:00
Hans Bakker baff7e8119 revert r1505301, not required to show organization partyId in csv download
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505878 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 01:58:17 +00:00
Hans Bakker 873b8944a8 update junit test related to r1505303 , reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505645 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 09:56:57 +00:00
Jacopo Cappellato 949080f5ba Fix for typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 08:22:14 +00:00
Hans Bakker 86485988fc remove log message in commit 1505303
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505304 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:38:21 +00:00
Hans Bakker 5084e74710 add the check that when a payment set to 'received' or 'sent' it should have a payment method, otherwise posting will fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505303 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:35:55 +00:00
Hans Bakker 03420d2e7d correction to rev 1502093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1505301 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 08:34:08 +00:00
Jacques Le Roux b96d1effcd A patch from Leon for "minor patch to "create email address"" https://issues.apache.org/jira/browse/OFBIZ-5278
In rare case where email address is same as other type contact info, such as internal party note, you cannot create this email address after the internal party note is created.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1504864 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 13:01:03 +00:00
Vikas Mayur 2d6b821a45 Removed redundant comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1504500 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 15:39:38 +00:00
Hans Bakker 9f45dde852 remove a non functional jquery error messaging in costcenter perc screens with the standard, but working messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1503615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 08:41:17 +00:00
Jacques Le Roux 739e937988 A patch from Pierre Smits for "Currency names of CZK and HRK are wrong" https://issues.apache.org/jira/browse/OFBIZ-5264
In CurrencyData.xml the names of the currencies of the Czech Republic and of Croatia are wrong.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502946 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 07:39:16 +00:00
Jacques Le Roux 66a77f5864 A patch from Pierre Smits for "Enhance GeoData.xml with Croatia as a member of the European Union" https://issues.apache.org/jira/browse/OFBIZ-5263
Per July 1st, 2013 Croatia joined the European Union.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502944 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 06:50:19 +00:00
Hans Bakker 392374d22d add orghanizationParty Id to the costcenter list, because the referenced glaccountId can come from several different companies in the hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 03:29:22 +00:00
Jacques Le Roux c85d363452 A patch from Leon for "make genericContentPermission service (called from within DataEvents.serveObjectData) locale enabled" https://issues.apache.org/jira/browse/OFBIZ-5260
Passes "locale" parameter when calling "genericContentPermission" service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502182 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 10:35:44 +00:00
Hans Bakker 6d7fd95df4 more consistent namimg of requests,screens and forms for import/export invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502149 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 08:33:24 +00:00
Jacques Le Roux 107a6762b6 No functional change.
When I reverted r1311214 for "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794 I did not notice Jacopo's also changed some ports value at r1324614
This reverts r1324614 to have things consistent. I don't backport (only R12.04 is concerned) because as long as catalina/ofbiz-component.xml is consistent (port =+ 1) things are working

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502121 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 05:38:47 +00:00
Hans Bakker c09114575f spelling error in reference number field invoice export/import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502116 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:33:04 +00:00
Hans Bakker 2acd394d71 fixed demo data load problem caused by r1502093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502102 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:53:50 +00:00
Hans Bakker ad8ae088de add a csv import/export invoices at an organizational level with partyid and productid translation functions, more imports/exports will follow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502093 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 03:14:30 +00:00
Hans Bakker 6bdaf8daa6 missing change in r1501659
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502091 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 02:53:35 +00:00
Hans Bakker 518757a033 enforce encoding on text input fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502088 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 02:44:45 +00:00
Hans Bakker 2670910be7 create invoice: assume status is INVOICE_IN_PROCESS when not provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1501659 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 06:30:53 +00:00
Hans Bakker a4181b2a56 remove white space
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1501657 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 06:28:19 +00:00
Adrian Crum c563479956 Removed support for runtime nested expressions in FlexibleStringExpander.java. This fixes the vulnerability CVE-2013-2250
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500772 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:37:37 +00:00
Jacques Le Roux 76274c5448 Better labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500771 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:37:14 +00:00
Jacopo Cappellato 15b6e19cc5 Upgrade from Tomcat 7.0.41 to 7.0.42
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500760 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:26:34 +00:00
Jacques Le Roux cff3539f53 French labels and better en label for WebtoolsMetricsRate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500705 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 13:00:28 +00:00
Adrian Crum 21f9c859d7 Removed the XSD-to-Java feature. Tools to make OFBiz development easier are outside the scope of the project.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500424 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 13:05:14 +00:00
Jacques Le Roux f10c13e5ff Adds a start-both and target to run OFBiz in both Web and POS modes at the same time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500403 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 10:37:14 +00:00
Jacques Le Roux b95ad64f58 A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 07:43:31 +00:00
Hans Bakker e9fabf2ed5 add screenlet to add accounting company screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499927 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 08:04:07 +00:00
Jacques Le Roux c7c772f8fc A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499918 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 06:57:03 +00:00
Jacopo Cappellato dbc1d23f5d Upgrade from Tomcat 7.0.40 to Tomcat 7.0.41
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499732 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 12:30:52 +00:00
Jacopo Cappellato 498ab7e68c Fix for typo in a comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499706 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 09:34:20 +00:00
Jacques Le Roux 015c93c8a7 Better (actually working) version of getServiceResult() function when handling parameters (OK also w/o)
OOTB, it's a non functional change, since the getServiceResult() function was not yet used with parameters

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499477 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 17:09:48 +00:00