ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9649) Unable to create Customer
Date Sat, 26 Aug 2017 22:28:02 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142955#comment-16142955
] 

Jacques Le Roux commented on OFBIZ-9649:
----------------------------------------

Ah sorry Ayushi I did not notice your OFBIZ-9649.patch, so you covered also UserEvents.xml.

I fixed a typo I made in r1806332 at r1806335


> Unable to create Customer
> -------------------------
>
>                 Key: OFBIZ-9649
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9649
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Ayushi Rathod
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9649.patch, OFBIZ-9649_pluginAndOfbizPlugin.patch, OFBIZ-9649.png
>
>
> 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
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message