You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/08/30 11:06:46 UTC

[jira] [Closed] (OFBIZ-6590) Cannot assign a product to a category

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

Jacques Le Roux closed OFBIZ-6590.
----------------------------------
    Resolution: Not A Problem
      Assignee: Jacques Le Roux

This is not a real problem, it's due to OFBIZ-6589. If you enter a date manually it works. You can also check it at http://demo-trunk-ofbiz.apache.org/webtools/control/runService by using the safeAddProductToCategory service

> Cannot assign a product to a category
> -------------------------------------
>
>                 Key: OFBIZ-6590
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6590
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>
> Use this link: https://localhost:8443/catalog/control/EditProductCategories?productId=CFSV1001
> -try adding this product to a category
> -an exception happens
> Console output
> --------------
> 2015-08-29 17:06:42,171 |ttp-bio-8443-exec-11 |Log                           |I| [CategoryServices.xml#checkCategoryRelatedPermission line 736] Checking category permission, roleCategories=
> 2015-08-29 17:06:42,172 |ttp-bio-8443-exec-11 |ServiceDispatcher             |T| Sync service [catalog/productCategoryGenericPermission] finished in [56] milliseconds
> 2015-08-29 17:06:42,179 |ttp-bio-8443-exec-11 |ServiceDispatcher             |T| Sync service [catalog/checkCategoryPermissionWithViewPurchaseAllow] finished in [125] milliseconds
> 2015-08-29 17:06:42,180 |ttp-bio-8443-exec-11 |ServiceDispatcher             |E| Incoming context (in runSync : safeAddProductToCategory) does not match expected requirements
> org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [safeAddProductToCategory.fromDate]
> 	at org.ofbiz.service.ModelService.validate(ModelService.java:551) ~[ofbiz-service.jar:?]
> 	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:376) [ofbiz-service.jar:?]
> 	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) [ofbiz-service.jar:?]
> 	at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) [ofbiz-service.jar:?]
> 	at org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:340) [ofbiz-webapp.jar:?]
> 	at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:781) [ofbiz-webapp.jar:?]
> 	at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:490) [ofbiz-webapp.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)