Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9649

Unable to create Customer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • party
    • None

    Description

      Steps to regenerate:
      1. Go to Party Component (https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/main)
      2. Create on Create Customer sub-menu (https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/NewCustomer)
      3. Fill all the required fields and click on save button

      Expected result: Customer should be created successfully.

      Actual result: An error is thrown

      The Following Errors Occurred:
      Error running the simple-method: Error running groovy script [<br/> boolean useEncryption = "true".equals(org.apache.ofbiz.entity.util.EntityUtilProperties.getPropertyValue("security", "password.encrypt", delegator))<br/> if (useEncryption) { newUserLogin.set("currentPassword", org.apache.ofbiz.base.crypto.HashCrypt.getDigestHash((String) newUserLogin.get("currentPassword"))) }<br/> ]: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: static org.apache.ofbiz.base.crypto.HashCrypt.getDigestHash() is applicable for argument types: (java.lang.String) values: [ofbiz]<br/>Possible solutions: digestHash(java.lang.String, [B) Method = createUser, File = file:/home/ofbizDemo/trunk/applications/party/minilang/user/UserEvents.xml, Element = <script>, Line 316null
      

      Attachments

        1. OFBIZ-9649_pluginAndOfbizPlugin.patch
          4 kB
          Ayushi Rathod
        2. OFBIZ-9649.patch
          1 kB
          Ayushi Rathod
        3. OFBIZ-9649.png
          474 kB
          Ayushi Rathod

        Activity

          People

            jleroux Jacques Le Roux
            ayushirathod44 Ayushi Rathod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: