Commit Graph
20010 Commits
Author SHA1 Message Date
Adrian Crum 2eb8a4ddfb Added a FIXME note for a bug introduced in revision 1089946.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513195 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 16:55:57 +00:00
Erwan de Ferrieres bf6c2c77e7 As reported by Nicolas Malin on dev mailing-list, correcting a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1513084 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 08:51:57 +00:00
Jacques Le Roux 193b0db281 This pos.memory.max.param property is now useless (I used it long ago and it made some confusion it seems)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512890 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 07:31:47 +00:00
Hans Bakker 545a33e723 also show the components without a webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512886 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 07:11:49 +00:00
Hans Bakker 54d19f4348 fixed some errors in the component test list screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512877 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 06:25:12 +00:00
Hans Bakker 9df881d368 OFBIZ-5244: ledger entries generated from a payment not using 'original' currency and amount
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512848 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 02:10:48 +00:00
Jacques Le Roux 0d4371b9a9 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512587 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 09:46:03 +00:00
Jacques Le Roux f2942def8c A patch from Pierre Smits https://issues.apache.org/jira/browse/OFBIZ-5262
"Improve demo data regarding EU tax authorities"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512577 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 08:33:43 +00:00
Jacques Le Roux 3e7431c26f Fixes https://issues.apache.org/jira/browse/OFBIZ-5272 "Sales by Store report generates an error"
jleroux: I vaguely remember a change related to ignore-if-null and ignore-if-empty. Anyway replacing ignore-if-null by ignore-if-empty does the trick, which makes sense

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512573 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:46:55 +00:00
Scott Gray 3d6187d98e Remove dead code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512572 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:03:21 +00:00
Scott Gray 1326aa5e06 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512565 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 05:16:25 +00:00
Jacques Le Roux f1b24dc568 This should fix https://issues.apache.org/jira/browse/OFBIZ-2574 "Not possible to show the shipment information (packaging slip) in the purchase order approvement screen"
See Purchase Order #DEMO10090 in the Order Managaer application, where the order are to be approved.

Try to click on the link; 
Shipments    Nbr 9998  Packing Slip 

----------------------------------------------
Then the following error is shown:
----------------------------------------------------------
The Following Errors Occurred:

Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]: java.lang.IllegalArgumentException: Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL (Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL )
-----------------------------------------------------------

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512376 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 16:19:16 +00:00
Jacques Le Roux c943b51124 A patch from Pierre Smits for "UnitData.xml is missing some liquid volume measures" https://issues.apache.org/jira/browse/OFBIZ-5277
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512307 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 13:58:31 +00:00
Jacques Le Roux c15824a6ab Forgot the white space in r1512147, anyway was commented out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512149 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 06:23:56 +00:00
Jacques Le Roux a4e1d73923 Completes r1512129 which fixed 2 errors introduced by r1511742.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512147 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 06:18:37 +00:00
Hans Bakker ff9107cb25 replace groovy file with new view and add orderitemSeqId to invoiceitemlist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 03:08:25 +00:00
Hans Bakker afb70f3469 corrections of errors introduced with r1511742
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512129 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 02:35:39 +00:00
Jacques Le Roux 1956e731a3 No functional changes, only formatting.
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511742 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 12:28:01 +00:00
Jacques Le Roux 89c5b3e373 A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version.
attached a patch to make it works and added an example section for that into FormWidgetExample.

jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511279 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 12:24:10 +00:00
Jacques Le Roux 98b8f43edb A patch from Pierre Smits for "Receive inventory generates an error when product has mandatory lotid" https://issues.apache.org/jira/browse/OFBIZ-5275
When a product has lotid set to mandatory the receipt of inventory in facility generates following error:

The Following Errors Occurred:
The lotId is mandatory for the product M-AMBER-40.

However, it is not possible to set the lotid on the receipt form.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1510042 13f79535-47bb-0310-9956-ffa450edef68
2013-08-03 17:24:45 +00:00
Hans Bakker d7069c79e8 work in progress: made the componentlist paged, ordered and more readable, clicking on the component name provides a junit test list from which a test can be run. even in production because all database changes are rolled back
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509516 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 02:56:59 +00:00
Scott Gray 955b6745f5 Fix bug preventing deadlock retries for groovy services, GenericEngine implementations and services should never modify the service context
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509510 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 01:19:53 +00:00
Jacques Le Roux 4a1a784c22 A patch from János Zsolt for "Load cart from order loses OrderItemAttributes" https://issues.apache.org/jira/browse/OFBIZ-5286
When an order is created from a cart, OrderItemAttribute entities are created as expected. But when this same order is used to load back to the cart, the OrderItemAttributes are not reset. I found the cause of this issue in the org.ofbiz.order.shoppingcart.ShoppingCartServices.loadCartFromOrder(DispatchContext, Map<String, Object>) method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1509164 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 10:47:02 +00:00
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