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

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

There are several problems with this approach.

# we get this error (in french sorry, just mean that createCustomerProfile is 
not working well though the profile is created)
{quote}
2009-02-19 10:47:26,218 (http-0.0.0.0-18443-3) [     
ControlServlet.java:130:INFO ] [[[createCustomerProfile] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [    
TransactionUtil.java:275:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149)
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:110)
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:72)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:494)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:321)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [    
TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled 
back
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     
RequestHandler.java:495:INFO ] Ran Event 
[simple:org/ofbiz/ecommerce/customer/CustomerEvents.xml#createCustomerProfile] 
from [request], result is [error]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     
RequestHandler.java:362:ERROR] Request createCustomerProfile caused an error 
with the following message: [PrÚnom absent, Nom absent, Adresse courriel absen
te, 1Þre ligne d'adresse vide, Ville absente, State is missing, Adresse non 
trouvÚe, Pays absent, Le code pays manque, Le code rÚgional manque, CoordonnÚes 
tÚlÚphoniques absentes]
2009-02-19 10:47:26,281 (http-0.0.0.0-18443-3) [     
RequestHandler.java:600:INFO ] Rendering View [newcustomer], 
sessionId=CF11DCFBF5E6A393DB0E27D5E6AB7770.jvm1
2009-02-19 10:47:26,296 (http-0.0.0.0-18443-3) [      
ScreenFactory.java:129:INFO ] Got 24 screens in 0.015s from: 
file:/D:/workspace/ofbizRun/applications/ecommerce/widget/CustomerScreens.xml
2009-02-19 10:47:26,343 (http-0.0.0.0-18443-3) [      
ScreenFactory.java:129:INFO ] Got 22 screens in 0.0s from: 
file:/D:/workspace/ofbizRun/framework/common/widget/CommonScreens.xml
2009-02-19 10:47:26,375 (http-0.0.0.0-18443-3) [     
ControlServlet.java:299:INFO ] [[[createCustomerProfile] Request Done- 
total:0.157,since last([createCustomerPr...):0.157]]
2009-02-19 10:47:32,656 (default-invoker-Thread-8) [         
JobInvoker.java:230:INFO ] Invoker [default-invoker-Thread-8] received job 
[1235036845250] from poller [org.ofbiz.service.job.jobpol...@4b0bbb]
2009-02-19 10:47:32,656 (default-invoker-Thread-8) 
[PersistedServiceJob.java:176:INFO ] 
org.ofbiz.service.job.persistedservice...@98c0fe[10727] -- Next runtime: Thu 
Jan 01 00:59:59 CET 1970
2009-02-19 10:47:32,671 (default-invoker-Thread-8) [      
ScreenFactory.java:129:INFO ] Got 3 screens in 0.015s from: 
file:/D:/workspace/ofbizRun/applications/party/widget/partymgr/EmailPartyScreens.xml
{quote}
# the new viewprofile screen contains far less information than the old one
# if you continue to use the old viewprofile screen (and the new  newcustome 
screen) the feature contained in this patch does not work (I did not understand 
why though, but ran out of time)

> Added check availability functionality on new create profile page of e 
> commerce.
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2000
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>            Reporter: Rishi Solanki
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CheckAvailUsername.patch, CheckAvailUsername.patch, 
> CheckAvailUserName.patch, CheckAvailUserName.patch, CheckAvailUserName.patch, 
> CheckAvailUserName.patch, CheckAvailUserName.patch
>
>
> After adding this functionality while creating a profile from e commerce new 
> profile pages, user will be able to check his/her selected userLoginId is 
> availabel or not. Instead after submitting the whole form can check it just 
> by clicking on a check availability link. For this implementation can use 
> Ajax.request for submitting the user name and finally getting back the error 
> list from the server. If got the error appear it else hide.
> Affected files for this feature are ;
> CustomerEvents.xml ----> ecommerce
> profile.js ---> ecommerce
> NewCustomer.ftl ---> ecommerce (for new one)
> Regards
> - Rishi Solanki

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to