Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-6850

Deleting a product using CProductLocalService leaves inconsistencies

    Details

    • Type: Bug
    • Status: Selected for Development
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.3 FP1
    • Fix Version/s: None
    • Labels:
      None
    • Severity of Issue:
      Major

      Description

      Calling the deleteCProduct method on the CProductLocalService leaves the system  in an inconsistent state.  
       

      CPDefinition stagedCPDefinition = CProduct cProduct = CProductLocalServiceUtil.fetchCProductByReferenceCode(companyId, erc);
      
      if (cProduct != null){
      	CProductLocalServiceUtil.deleteCProduct(cProduct.getCProductId());
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrea.sbarra Andrea Sbarra
              Reporter:
              jeffrey.handa Jeffrey P. Handa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package