ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Jugl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-10328) CatalogServices #duplicateProductCategory doesn't check for existing categories
Date Thu, 05 Apr 2018 15:12:00 GMT

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

Benjamin Jugl updated OFBIZ-10328:
----------------------------------
    Summary: CatalogServices #duplicateProductCategory doesn't check for existing categories
 (was: CLONE - CatalogServices #duplicateProductCategory doesn't check for existing categories)

> CatalogServices #duplicateProductCategory doesn't check for existing categories
> -------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10328
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10328
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Benjamin Jugl
>            Priority: Minor
>         Attachments: OFBIZ-10328_applications.prodict.groovyScripts.product.category.CategoryServices_validatePrimaryKey.patch
>
>
> {quote}"This method just crashes, if there is an attribute which has the same name as
the one the user is trying to create.
>  There should be a check for existing attributes and a clean return, no exception throwing."
[~Dennis Balkir]
> {quote}
> There is no check for duplicates in this method either, resulting in a crash and unhandled
exceptions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message