You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2025/02/12 17:53:00 UTC

[jira] [Commented] (OFBIZ-13210) Registration of an user in ecommerce throws an error

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

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

It was broken by OFBIZ-12630. It's not the same kind of error I fixed with https://github.com/apache/ofbiz-plugins/commit/6bb87e743. Because there is no compiler for groovy inside XML. Another good reason to complete the Minilang migration ;)


> Registration of an user in ecommerce throws an error
> ----------------------------------------------------
>
>                 Key: OFBIZ-13210
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13210
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: 24.09.01
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 24.09.01
>
>
> 2025-02-12 08:00:30,102 |sse-nio-8443-exec-12 |ScriptUtil                    |W| Error running groovy script [
>                 org.apache.ofbiz.webapp.control.LoginWorker.doBasicLogin(createdUserLogin, request)
>                 org.apache.ofbiz.webapp.control.LoginWorker.autoLoginSet(request, response)
>                 session = request.getSession()
>                 cart = session.getAttribute("shoppingCart")
>                 if (cart != null) {
>                     cart.setOrderPartyId(tempMap.get("partyId"))
>                 }
>             ]: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: static org.apache.ofbiz.webapp.control.LoginWorker.doBasicLogin() is applicable for argument types: (o.a.o.e.GenericValue, o.a.c.c.R
> equestFacade) values: [[lastUpdatedStamp:2025-02-12 08:00:28.212, successiveFailedLogins:null, passwordHint:null, ...], ...]
> Possible solutions: doBasicLogin(org.apache.ofbiz.entity.GenericValue, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse), doBasicLogout(org.apache.ofbiz.entity.GenericValue, javax.servlet.http.HttpServletRequ
> est, javax.servlet.http.HttpServletResponse)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)