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

ASF subversion and git services commented on OFBIZ-13210:
---------------------------------------------------------

Commit c409a48a3125f68dae131fdb575d2fcc43010d83 in ofbiz-plugins's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=c409a48a3 ]

Fixed: Registration of an user in ecommerce throws an error (OFBIZ-13210)

I initially thought the user was not created, but it seems it's just the
relation with the cart. At least the user is created. But it' not just an
intempestive message because the user can't know that the registration works,
apart trying to login.

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)

Reply via email to