Re: svn commit: r793286 - in /ofbiz/trunk: applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java specialpurpose/ecommerce/data/DemoConfigurator.xml

2009-07-12 Thread Jacopo Cappellato

Hi Hans,

you can get similar results by setting configItemTypeId to STANDARD

Jacopo

On Jul 12, 2009, at 10:09 AM, hans...@apache.org wrote:


Author: hansbak
Date: Sun Jul 12 08:09:54 2009
New Revision: 793286

URL: http://svn.apache.org/viewvc?rev=793286view=rev
Log:
added the possbility that in a configurable product a subassembly is  
included with a BOM definition which need to be assembled fist, demo  
data to demonstrate this is included for the famous PC001


Modified:
   ofbiz/trunk/applications/manufacturing/src/org/ofbiz/ 
manufacturing/jobshopmgt/ProductionRunServices.java

   ofbiz/trunk/specialpurpose/ecommerce/data/DemoConfigurator.xml

Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/ 
manufacturing/jobshopmgt/ProductionRunServices.java

URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=793286r1=793285r2=793286view=diff
= 
= 
= 
= 
= 
= 
= 
= 
==
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/ 
manufacturing/jobshopmgt/ProductionRunServices.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/ 
manufacturing/jobshopmgt/ProductionRunServices.java Sun Jul 12  
08:09:54 2009

@@ -48,6 +48,7 @@
import org.ofbiz.entity.condition.EntityOperator;
import org.ofbiz.entity.util.EntityUtil;
import org.ofbiz.manufacturing.bom.BOMTree;
+import org.ofbiz.manufacturing.bom.BOMNode;
import org.ofbiz.manufacturing.techdata.TechDataServices;
import org.ofbiz.product.config.ProductConfigWrapper;
import org.ofbiz.product.config.ProductConfigWrapper.ConfigOption;
@@ -231,7 +232,6 @@
} catch (GenericServiceException gse) {
Debug.logWarning(gse.getMessage(), module);
}
-// =
if (routing == null) {
return  
ServiceUtil.returnError(UtilProperties.getMessage(resource,  
ManufacturingProductRoutingNotExist, locale));

}
@@ -391,7 +391,7 @@
while (pb.hasNext()) {
// The components variable contains a list of  
BOMNodes:

// each node represents a product (component).
-org.ofbiz.manufacturing.bom.BOMNode node =  
(org.ofbiz.manufacturing.bom.BOMNode) pb.next();
+BOMNode node =  
(org.ofbiz.manufacturing.bom.BOMNode) pb.next();

GenericValue productBom = node.getProductAssoc();
if ((productBom.getString(routingWorkEffortId)  
== null  first) || (productBom.getString(routingWorkEffortId) !=  
null   
productBom 
.getString 
(routingWorkEffortId 
).equals(routingTask.getString(workEffortId {

serviceContext.clear();
@@ -2217,7 +2217,39 @@
BigDecimal totalQuantity =  
(BigDecimal)components.get(componentProductId);
componentQuantity =  
totalQuantity.add(componentQuantity);

}
-components.put(componentProductId,  
componentQuantity);

+
+// check if a bom exists
+List bomList = null;
+try {
+	bomList = delegator.findByAnd(ProductAssoc,  
UtilMisc.toMap(productId, componentProductId,  
productAssocTypeId, MANUF_COMPONENT));
+	bomList = EntityUtil.filterByDate(bomList,  
UtilDateTime.nowTimestamp());

+} catch (GenericEntityException e) {
+	return ServiceUtil.returnError(try to get BOM  
list from productAssoc);

+}
+// if so create a mandatory predecessor to this  
production run

+if(UtilValidate.isNotEmpty(bomList)) {
+   serviceContext.clear();
+   serviceContext.put(productId, componentProductId);
+   serviceContext.put(quantity, componentQuantity);
+	serviceContext.put(startDate,  
UtilDateTime.nowTimestamp());

+   serviceContext.put(facilityId, facilityId);
+   serviceContext.put(userLogin, userLogin);
+   resultService = null;
+   try {
+		resultService =  
dispatcher.runSync(createProductionRunsForProductBom,  
serviceContext);
+		GenericValue workEffortPreDecessor =  
delegator.makeValue(WorkEffortAssoc, UtilMisc.toMap(
+workEffortIdTo, productionRunId,  
workEffortIdFrom, resultService.get(productionRunId),
+workEffortAssocTypeId, WORK_EFF_PRECEDENCY,  
fromDate, UtilDateTime.nowTimestamp()));

+   workEffortPreDecessor.create();
+   } catch (GenericServiceException e) {
+		return  
ServiceUtil.returnError(UtilProperties.getMessage(resource,  
ManufacturingProductionRunNotCreated, locale));

+   } catch 

Re: svn commit: r792836 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/ entity/src/org/ofbiz/entity/condition/ entity/src/org/ofbiz/entity/datasource/ entity/src/org/ofbiz/entity/model/ exa

2009-07-12 Thread Jacopo Cappellato

Just for the record:

I got compile error after this commit using JDK 1.5.0_05 (in a win XP  
box)

After updating to JDK 1.5.0_19 everything is working fine.

Jacopo

On Jul 10, 2009, at 10:47 AM, jone...@apache.org wrote:


Author: jonesde
Date: Fri Jul 10 08:47:16 2009
New Revision: 792836

URL: http://svn.apache.org/viewvc?rev=792836view=rev
Log:
Added example of nested view-entity with entity-condition on a view  
member entity; adjusted view-entity entity-condition to handle  
naming consistent to other places for nested views, other small  
cleanups


Modified:
   ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilMisc.java
   ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/ 
EntityFieldValue.java
   ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/ 
GenericDAO.java
   ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ 
ModelViewEntity.java

   ofbiz/trunk/framework/example/entitydef/entitymodel_view.xml

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ 
UtilMisc.java

URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilMisc.java?rev=792836r1=792835r2=792836view=diff
= 
= 
= 
= 
= 
= 
= 
= 
==
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilMisc.java  
(original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilMisc.java  
Fri Jul 10 08:47:16 2009

@@ -51,6 +51,30 @@
return throwable;
}

+public static T int compare(T obj1, T obj2) {
+if (obj1 == null) {
+if (obj2 == null) {
+return 0;
+} else {
+return 1;
+}
+} else {
+return ((ComparableT) obj1).compareTo(obj2);
+}
+}
+
+public static T int compare(ComparableT obj1, T obj2) {
+if (obj1 == null) {
+if (obj2 == null) {
+return 0;
+} else {
+return 1;
+}
+} else {
+return obj1.compareTo(obj2);
+}
+}
+
/**
 * Get an iterator from a collection, returning null if  
collection is null

 * @param col The collection to be turned in to an iterator

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/ 
condition/EntityFieldValue.java

URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityFieldValue.java?rev=792836r1=792835r2=792836view=diff
= 
= 
= 
= 
= 
= 
= 
= 
==
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/ 
EntityFieldValue.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/ 
EntityFieldValue.java Fri Jul 10 08:47:16 2009

@@ -24,7 +24,10 @@

import javolution.context.ObjectFactory;
import javolution.lang.Reusable;
+import javolution.util.FastList;

+import org.ofbiz.base.util.Debug;
+import org.ofbiz.base.util.UtilMisc;
import org.ofbiz.base.util.UtilValidate;
import org.ofbiz.entity.GenericDelegator;
import org.ofbiz.entity.GenericEntity;
@@ -33,6 +36,7 @@
import org.ofbiz.entity.model.ModelEntity;
import org.ofbiz.entity.model.ModelField;
import org.ofbiz.entity.model.ModelViewEntity;
+import org.ofbiz.entity.model.ModelViewEntity.ModelAlias;

/**
 * Encapsulates operations between entities and entity fields. This  
is a immutable class.

@@ -41,6 +45,8 @@
@SuppressWarnings(serial)
public class EntityFieldValue extends EntityConditionValue  
implements Reusable {


+public static final String module =  
EntityFieldValue.class.getName();

+
protected static final ObjectFactoryEntityFieldValue  
entityFieldValueFactory = new ObjectFactoryEntityFieldValue() {

@Override
protected EntityFieldValue create() {
@@ -50,17 +56,18 @@

protected String fieldName = null;
protected String entityAlias = null;
+protected ListString entityAliasStack = null;
protected ModelViewEntity modelViewEntity = null;

public static EntityFieldValue makeFieldValue(String fieldName) {
EntityFieldValue efv =  
EntityFieldValue.entityFieldValueFactory.object();

-efv.init(fieldName, null, null);
+efv.init(fieldName, null, null, null);
return efv;
}

-public static EntityFieldValue makeFieldValue(String fieldName,  
String entityAlias, ModelViewEntity modelViewEntity) {
+public static EntityFieldValue makeFieldValue(String fieldName,  
String entityAlias, ListString entityAliasStack, ModelViewEntity  
modelViewEntity) {
EntityFieldValue efv =  
EntityFieldValue.entityFieldValueFactory.object();

-efv.init(fieldName, entityAlias, modelViewEntity);
+efv.init(fieldName, entityAlias, entityAliasStack,  
modelViewEntity);

return efv;
}

@@ -69,17 +76,33 @@
/** @deprecated Use EntityFieldValue.makeFieldValue() instead */
@Deprecated
public EntityFieldValue(String 

[jira] Assigned: (OFBIZ-2715) (Accounting - AP)Junit test case to test the service which creates payment group for given invoices along with its payment and application.

2009-07-12 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya reassigned OFBIZ-2715:
--

Assignee: Ashish Vijaywargiya

 (Accounting - AP)Junit test case to test the service which creates payment 
 group for given invoices along with its payment and application.
 ---

 Key: OFBIZ-2715
 URL: https://issues.apache.org/jira/browse/OFBIZ-2715
 Project: OFBiz
  Issue Type: Sub-task
  Components: accounting
Affects Versions: SVN trunk
Reporter: Sumit Pandit
Assignee: Ashish Vijaywargiya
Priority: Minor
 Fix For: SVN trunk

 Attachments: ApTestCase_OFBiz-2715.patch, ApTestCase_OFBiz-2715.patch


 Write a Junit test case to test the service 
 CreatePaymentAndPaymentGroupForInvoices (OFBIZ-2706), this will take list of 
 invoice id, and return paymentGroupId, where we can verify that payment group 
 have members (1 member for each payment record.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-2706) Create a screen under AP - Invoice, which will search for a PURCHASE_INVOICE between dates.

2009-07-12 Thread Ashish Vijaywargiya (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730073#action_12730073
 ] 

Ashish Vijaywargiya commented on OFBIZ-2706:


Thanks Arpit, Sumit  Rishi!
Done at r793339.

--
Ashish Vijaywargiya

 Create a screen under  AP - Invoice, which will search for a 
 PURCHASE_INVOICE between dates. 
 --

 Key: OFBIZ-2706
 URL: https://issues.apache.org/jira/browse/OFBIZ-2706
 Project: OFBiz
  Issue Type: New Feature
  Components: accounting
Affects Versions: SVN trunk
Reporter: Sumit Pandit
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: ApInvoices_OFBiz-2706.patch, 
 ApInvoices_OFBiz-2706.patch, ApInvoices_OFBiz-2706.patch, 
 ApInvoices_OFBiz-2706.patch, ApInvoices_OFBiz-2706.patch, 
 ApInvoices_OFBiz-2706.patch


 Under AP - Invoice, provide following features -
 1) Create a tab button item (main) which contains - 
 Create new - will create a new Purchase invoice.
 Search purchase invoices (where parentInvoiceTypeId =  PURCHASE_INVOICE)
 List invoices based on search criteria.
 2) Create a tab button item (Purchase Invoice) which contains - 
 Search form - for PURCHASE_INVOICE, invoice due date, invoice date. This 
 will search and list all PURCHASE_INVOICE under the date range.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-2708) Junit tests for the AR Batch Payments

2009-07-12 Thread Ashish Vijaywargiya (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730075#action_12730075
 ] 

Ashish Vijaywargiya commented on OFBIZ-2708:


Thanks Awdesh, Rishi for your contribution.
Changes are in trunk at r793341.

--
Ashish Vijaywargiya

 Junit tests for the AR Batch Payments
 -

 Key: OFBIZ-2708
 URL: https://issues.apache.org/jira/browse/OFBIZ-2708
 Project: OFBiz
  Issue Type: Sub-task
  Components: accounting
Affects Versions: SVN trunk
Reporter: Rishi Solanki
Assignee: Ashish Vijaywargiya
Priority: Minor
 Fix For: SVN trunk

 Attachments: OFBiz-2708.patch, OFBiz-2708.patch, OFBiz-2708.patch, 
 OFBiz-2708.patch


 Write Junit tests for the createPaymentBatch service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (OFBIZ-2717) Add a new Deposit/Withdraw screen to the FinAccount subscreens

2009-07-12 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya reassigned OFBIZ-2717:
--

Assignee: Ashish Vijaywargiya

 Add a new Deposit/Withdraw screen to the FinAccount subscreens
 

 Key: OFBIZ-2717
 URL: https://issues.apache.org/jira/browse/OFBIZ-2717
 Project: OFBiz
  Issue Type: New Feature
  Components: accounting
Affects Versions: SVN trunk
Reporter: Rishi Solanki
Assignee: Ashish Vijaywargiya
 Fix For: SVN trunk

 Attachments: OFBiz-2717.patch


 If the FinAccount is of type Bank Account add a new Deposit/Withdraw tab 
 to the list of subscreens.
 The link will open the Deposit/Withdrawal screen that will be used to 
 associate (as 'deposit' or 'withdraw') Payments in the FinAccount 
 (representing the back account of the Company): this means that the Payments 
 will be associated to the FinAccount by creating FinAccountTrans records and 
 by setting the Payment.finAccountTransId field in the payment. 
 The Screen will be in parallel to - 
 https://localhost:8443/accounting/control/EditFinAccount?finAccountId=9000
 Thanks to Jacopo for the description and help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-2717) Add a new Deposit/Withdraw screen to the FinAccount subscreens

2009-07-12 Thread Ashish Vijaywargiya (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730091#action_12730091
 ] 

Ashish Vijaywargiya commented on OFBIZ-2717:


Thanks Awdesh, Rishi  Jacopo.
Done at r793358.

--
Ashish

 Add a new Deposit/Withdraw screen to the FinAccount subscreens
 

 Key: OFBIZ-2717
 URL: https://issues.apache.org/jira/browse/OFBIZ-2717
 Project: OFBiz
  Issue Type: New Feature
  Components: accounting
Affects Versions: SVN trunk
Reporter: Rishi Solanki
Assignee: Ashish Vijaywargiya
 Fix For: SVN trunk

 Attachments: OFBiz-2717.patch


 If the FinAccount is of type Bank Account add a new Deposit/Withdraw tab 
 to the list of subscreens.
 The link will open the Deposit/Withdrawal screen that will be used to 
 associate (as 'deposit' or 'withdraw') Payments in the FinAccount 
 (representing the back account of the Company): this means that the Payments 
 will be associated to the FinAccount by creating FinAccountTrans records and 
 by setting the Payment.finAccountTransId field in the payment. 
 The Screen will be in parallel to - 
 https://localhost:8443/accounting/control/EditFinAccount?finAccountId=9000
 Thanks to Jacopo for the description and help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1461) Login fails after session time out and there is a lot of data in the url.

2009-07-12 Thread BJ Freeman (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BJ Freeman updated OFBIZ-1461:
--

Fix Version/s: Release Branch 9.04
Affects Version/s: Release Branch 9.04

 Login fails after session time out and there is a lot of data in the url.
 -

 Key: OFBIZ-1461
 URL: https://issues.apache.org/jira/browse/OFBIZ-1461
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
 Environment: Login
Reporter: BJ Freeman
Priority: Minor
 Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk

 Attachments: testdata.txt


 was originally https://issues.apache.org/jira/browse/OFBIZ-50
 However this is a login function problem
 not just for Webtools.
 NOTE: I am using webtools import, because it is easy to reporduce the error 
 this way. This is not, I say Not a webtools problem but a Login problem.
 1)go to webtools and import the attached data.
 2) allow ofbiz session to time out
 3) click on main in webtools.
 4) the login dialog shows
 5) login
 6) will get a can't login error.
 7) note the URL has all the import data in it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Reopened: (OFBIZ-1461) Login fails after session time out and there is a lot of data in the url.

2009-07-12 Thread BJ Freeman (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BJ Freeman reopened OFBIZ-1461:
---


open so can closed as fixed

 Login fails after session time out and there is a lot of data in the url.
 -

 Key: OFBIZ-1461
 URL: https://issues.apache.org/jira/browse/OFBIZ-1461
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
 Environment: Login
Reporter: BJ Freeman
Priority: Minor
 Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk

 Attachments: testdata.txt


 was originally https://issues.apache.org/jira/browse/OFBIZ-50
 However this is a login function problem
 not just for Webtools.
 NOTE: I am using webtools import, because it is easy to reporduce the error 
 this way. This is not, I say Not a webtools problem but a Login problem.
 1)go to webtools and import the attached data.
 2) allow ofbiz session to time out
 3) click on main in webtools.
 4) the login dialog shows
 5) login
 6) will get a can't login error.
 7) note the URL has all the import data in it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (OFBIZ-1461) Login fails after session time out and there is a lot of data in the url.

2009-07-12 Thread BJ Freeman (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BJ Freeman resolved OFBIZ-1461.
---

Resolution: Fixed

the security fix to remove the parms from the URL has fixed this.


 Login fails after session time out and there is a lot of data in the url.
 -

 Key: OFBIZ-1461
 URL: https://issues.apache.org/jira/browse/OFBIZ-1461
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
 Environment: Login
Reporter: BJ Freeman
Priority: Minor
 Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk

 Attachments: testdata.txt


 was originally https://issues.apache.org/jira/browse/OFBIZ-50
 However this is a login function problem
 not just for Webtools.
 NOTE: I am using webtools import, because it is easy to reporduce the error 
 this way. This is not, I say Not a webtools problem but a Login problem.
 1)go to webtools and import the attached data.
 2) allow ofbiz session to time out
 3) click on main in webtools.
 4) the login dialog shows
 5) login
 6) will get a can't login error.
 7) note the URL has all the import data in it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-2723) OFBiz 09.04 Chinese Localization

2009-07-12 Thread Shi Yusen (JIRA)
OFBiz 09.04 Chinese Localization


 Key: OFBIZ-2723
 URL: https://issues.apache.org/jira/browse/OFBIZ-2723
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Release Branch 9.04
Reporter: Shi Yusen


I have started to localize OFBiz 09.04 to Chinese. I'll put all the patches in 
this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-2723) OFBiz 09.04 Chinese Localization

2009-07-12 Thread Shi Yusen (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shi Yusen updated OFBIZ-2723:
-

Attachment: localization-zh-09.04-applications-accounting.patch

A patch file for Chinese localization of Accounting.

 OFBiz 09.04 Chinese Localization
 

 Key: OFBIZ-2723
 URL: https://issues.apache.org/jira/browse/OFBIZ-2723
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Release Branch 9.04
Reporter: Shi Yusen
 Attachments: localization-zh-09.04-applications-accounting.patch


 I have started to localize OFBiz 09.04 to Chinese. I'll put all the patches 
 in this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-2723) OFBiz 09.04 Chinese Localization

2009-07-12 Thread BJ Freeman (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730164#action_12730164
 ] 

BJ Freeman commented on OFBIZ-2723:
---

patch are welcome 
however improvement go in the trunk. only bug fixes go into 9.04
so if you could make your patch againt the trunk it would help.


 OFBiz 09.04 Chinese Localization
 

 Key: OFBIZ-2723
 URL: https://issues.apache.org/jira/browse/OFBIZ-2723
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Release Branch 9.04
Reporter: Shi Yusen
 Attachments: localization-zh-09.04-applications-accounting.patch


 I have started to localize OFBiz 09.04 to Chinese. I'll put all the patches 
 in this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [jira] Commented: (OFBIZ-2723) OFBiz 09.04 Chinese Localization

2009-07-12 Thread Shi Yusen
Add a new issue type named 'Localization'?


在 2009-07-12日的 16:15 -0700,BJ Freeman (JIRA)写道:
 [ 
 https://issues.apache.org/jira/browse/OFBIZ-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730164#action_12730164
  ] 
 
 BJ Freeman commented on OFBIZ-2723:
 ---
 
 patch are welcome 
 however improvement go in the trunk. only bug fixes go into 9.04
 so if you could make your patch againt the trunk it would help.
 
 
  OFBiz 09.04 Chinese Localization
  
 
  Key: OFBIZ-2723
  URL: https://issues.apache.org/jira/browse/OFBIZ-2723
  Project: OFBiz
   Issue Type: Improvement
   Components: ALL COMPONENTS
 Affects Versions: Release Branch 9.04
 Reporter: Shi Yusen
  Attachments: localization-zh-09.04-applications-accounting.patch
 
 
  I have started to localize OFBiz 09.04 to Chinese. I'll put all the patches 
  in this issue.
 



Re: [jira] Commented: (OFBIZ-2723) OFBiz 09.04 Chinese Localization

2009-07-12 Thread BJ Freeman
it is up to the comitter. They may see as not inducing more bugs so they
may commit it to both.


Shi Yusen sent the following on 7/12/2009 4:56 PM:
 Add a new issue type named 'Localization'?
 
 
 在 2009-07-12日的 16:15 -0700,BJ Freeman (JIRA)写道:
 [ 
 https://issues.apache.org/jira/browse/OFBIZ-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730164#action_12730164
  ] 

 BJ Freeman commented on OFBIZ-2723:
 ---

 patch are welcome 
 however improvement go in the trunk. only bug fixes go into 9.04
 so if you could make your patch againt the trunk it would help.


 OFBiz 09.04 Chinese Localization
 

 Key: OFBIZ-2723
 URL: https://issues.apache.org/jira/browse/OFBIZ-2723
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Release Branch 9.04
Reporter: Shi Yusen
 Attachments: localization-zh-09.04-applications-accounting.patch


 I have started to localize OFBiz 09.04 to Chinese. I'll put all the patches 
 in this issue.
 
 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro
Systems Integrator.



Re: Back-end comp

2009-07-12 Thread David E Jones


For some reason my natural reaction to this was that of an end-user:  
that looks great, I'm impressed that you've done so much... when can I  
try it out?


That said, I'll try to temper my reaction to be more community  
friendly: really cool... how much have you done, and more importantly:  
what do you need/want help with?


-David


On Jul 10, 2009, at 9:30 AM, Ean Schuessler wrote:

Here is a version of the ApacheERP theme Erik did that has been  
updated

to reflect current OFBiz branding. The right side column could
essentially be a condensed version of the user profile that follows  
you
around all the time reflecting status, tasks and communications you  
need

to take care of.

Image at: http://brainfood.com/newsbucket/Ofbiz_backend.jpg

--
Ean Schuessler, CTO
e...@brainfood.com
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com





[jira] Created: (OFBIZ-2724) proper asserts in junit

2009-07-12 Thread BJ Freeman (JIRA)
proper asserts in junit
---

 Key: OFBIZ-2724
 URL: https://issues.apache.org/jira/browse/OFBIZ-2724
 Project: OFBiz
  Issue Type: Test
  Components: framework
Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
Reporter: BJ Freeman
 Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk


I have decided to delve into junit and do some test to validate the basic math 
packages to do accounting math(no math errors)
in doing this I ran accross  some problems for testing in certian version of 
Junit.

This is a very basic test to show the problem and be expanded on to make sure 
Junit is valid the way it is being used.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-2725) removePartyContent from party profile screen

2009-07-12 Thread chris snow (JIRA)
removePartyContent from party profile screen


 Key: OFBIZ-2725
 URL: https://issues.apache.org/jira/browse/OFBIZ-2725
 Project: OFBiz
  Issue Type: Sub-task
Reporter: chris snow




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-2725) removePartyContent from party profile screen

2009-07-12 Thread chris snow (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730217#action_12730217
 ] 

chris snow commented on OFBIZ-2725:
---

The following error was received when I clicked on remove for some content in 
the party content window on the party view profile screen:

org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [partyId] 
passed to secure (https) request-map with uri [removePartyContent] with an 
event that calls service [removePartyContent]; this is not allowed for security 
reasons! The data should be encrypted by making it part of the request body (a 
form field) instead of the request URL. Moreover it would be kind if you could 
create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 
(check before if a sub-task for this error does not exist). If you are not sure 
how to create a Jira issue please have a look before at 
http://docs.ofbiz.org/x/r. Thank you in advance for your help.

 removePartyContent from party profile screen
 

 Key: OFBIZ-2725
 URL: https://issues.apache.org/jira/browse/OFBIZ-2725
 Project: OFBiz
  Issue Type: Sub-task
Reporter: chris snow



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-2726) cannot add new requirement from workeffort screens

2009-07-12 Thread chris snow (JIRA)
cannot add new requirement from workeffort screens
--

 Key: OFBIZ-2726
 URL: https://issues.apache.org/jira/browse/OFBIZ-2726
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Release Branch 4.0, Release Branch 9.04
Reporter: chris snow
Priority: Minor


The workeffort app requirement screens have the option to assign an existing 
requirement or create a new requirement for the work effort.  However, when 
trying to add a new requirement from the workeffort screens, I get the error 
message:

The following required parameter is missing: 
[createWorkRequirementFulfillment.requirementId]

The work around is to add the requirement through the order application.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.