Broadleaf 3.1.2 framework Build fial on Integration Module
Posted: Wed May 28, 2014 7:53 am
Hi,
I just downloaded BroadleafCommerce 3.1.2 from github, I am trying to install it from the eclipse. I am getting test failed errors in Integration module, some one could help me please. following test cases are getting fail (I didn't do any changes on codebase)
[ INFO] 16:49:11 MergeTransactionalTestExecutionListener - Began transaction (1): transaction manager [org.springframework.orm.jpa.JpaTransactionManager@3007bcc0]; rollback [true]
[ INFO] 16:49:11 SequenceProcessor - Automatically rolling back state for any previously registered RollbackHandlers. RollbackHandlers may be registered for workflow activities in appContext.
[ INFO] 16:49:11 SequenceProcessor - no error handler for this action, run default errorhandler and abort processing
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.UnsupportedOperationException: No currency conversion service is registered, cannot add different currency types together (USD INR)
at org.broadleafcommerce.common.money.Money.add(Money.java:176)
at org.broadleafcommerce.core.pricing.service.workflow.TotalActivity.setTaxSums(TotalActivity.java:135)
at org.broadleafcommerce.core.pricing.service.workflow.TotalActivity.execute(TotalActivity.java:48)
[ INFO] 16:49:11 MergeTransactionalTestExecutionListener - Began transaction (4): transaction manager [org.springframework.orm.jpa.JpaTransactionManager@3007bcc0]; rollback [true]
[ INFO] 16:49:11 SequenceProcessor - Automatically rolling back state for any previously registered RollbackHandlers. RollbackHandlers may be registered for workflow activities in appContext.
[ INFO] 16:49:11 SequenceProcessor - no error handler for this action, run default errorhandler and abort processing
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: The requested skuId of 21 is no longer active
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:117)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: The requested skuId of 21 is no longer active
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:117)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Quantity cannot be negative
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:78)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Order is required when adding item to order
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:83)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Product was specified but no matching product was found for productId -1
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:91)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Quantity cannot be negative
at org.broadleafcommerce.core.order.service.workflow.update.ValidateUpdateRequestActivity.execute(ValidateUpdateRequestActivity.java:49)
at org.broadleafcommerce.core.workflow.SequenceProcessor.doActivities(SequenceProcessor.java:77)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Cannot update an item that is part of a bundle
at org.broadleafcommerce.core.order.service.workflow.update.ValidateUpdateRequestActivity.execute(ValidateUpdateRequestActivity.java:62)
Thanks
I just downloaded BroadleafCommerce 3.1.2 from github, I am trying to install it from the eclipse. I am getting test failed errors in Integration module, some one could help me please. following test cases are getting fail (I didn't do any changes on codebase)
[ INFO] 16:49:11 MergeTransactionalTestExecutionListener - Began transaction (1): transaction manager [org.springframework.orm.jpa.JpaTransactionManager@3007bcc0]; rollback [true]
[ INFO] 16:49:11 SequenceProcessor - Automatically rolling back state for any previously registered RollbackHandlers. RollbackHandlers may be registered for workflow activities in appContext.
[ INFO] 16:49:11 SequenceProcessor - no error handler for this action, run default errorhandler and abort processing
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.UnsupportedOperationException: No currency conversion service is registered, cannot add different currency types together (USD INR)
at org.broadleafcommerce.common.money.Money.add(Money.java:176)
at org.broadleafcommerce.core.pricing.service.workflow.TotalActivity.setTaxSums(TotalActivity.java:135)
at org.broadleafcommerce.core.pricing.service.workflow.TotalActivity.execute(TotalActivity.java:48)
[ INFO] 16:49:11 MergeTransactionalTestExecutionListener - Began transaction (4): transaction manager [org.springframework.orm.jpa.JpaTransactionManager@3007bcc0]; rollback [true]
[ INFO] 16:49:11 SequenceProcessor - Automatically rolling back state for any previously registered RollbackHandlers. RollbackHandlers may be registered for workflow activities in appContext.
[ INFO] 16:49:11 SequenceProcessor - no error handler for this action, run default errorhandler and abort processing
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: The requested skuId of 21 is no longer active
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:117)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: The requested skuId of 21 is no longer active
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:117)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Quantity cannot be negative
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:78)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Order is required when adding item to order
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:83)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Product was specified but no matching product was found for productId -1
at org.broadleafcommerce.core.order.service.workflow.add.ValidateAddRequestActivity.execute(ValidateAddRequestActivity.java:91)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Quantity cannot be negative
at org.broadleafcommerce.core.order.service.workflow.update.ValidateUpdateRequestActivity.execute(ValidateUpdateRequestActivity.java:49)
at org.broadleafcommerce.core.workflow.SequenceProcessor.doActivities(SequenceProcessor.java:77)
[ERROR] 16:49:11 DefaultErrorHandler - An error occurred during the workflow
java.lang.IllegalArgumentException: Cannot update an item that is part of a bundle
at org.broadleafcommerce.core.order.service.workflow.update.ValidateUpdateRequestActivity.execute(ValidateUpdateRequestActivity.java:62)
Thanks