Fórumok

Sign - in Issue

Kevin Matthews, módosítva 10 év-val korábban

Sign - in Issue

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2012.05.23. Legújabb bejegyzések
Whenever I try to sign into the sign-in portlet the first time it does not accept the emailAddress and password but clear out the entry in the emailAddress and password box on the first try. However, on the second try it will sign me in and dispacth to my account page.

When I check my system.out or log file I do get the following warning defeine below:
00:28,536 WARN [http-bio-8080-exec-19][404_jsp:?] /home;jsessionid=5846A418A93C28B20A322751F99C9344
16:00:28,607 WARN [http-bio-8080-exec-11][404_jsp:?] /favicon.ico

The way how my portlet is built is I have hook that uses a post login action class (see below) that collects the userId and makes a webservice call to lookup customer detail and base on the information returned dispatches to a portlet jsp page base on the user information returned from the web service

@Override
public void run(HttpServletRequest request, HttpServletResponse httpres)
throws ActionException {

//lookupCustomerInfoByUserId(getCompanyId())

}

Please let me know why whenever I login at the first time the sign-in portlet does not take the emailAddress and password

Thanks
Kevin
thumbnail
Manish Yadav, módosítva 10 év-val korábban

RE: Sign - in Issue

Expert Bejegyzések: 493 Csatlakozás dátuma: 2012.05.26. Legújabb bejegyzések
Hi Kevin,

This issue may be related to http://issues.liferay.com/browse/LPS-25587.
Can you please try to add the following property in portal-ext.properties : session.enable.url.with.session.id=false

Similar problem : https://www.liferay.com/community/forums/-/message_boards/message/13993073

Thanks & Regards
Manish Yadav
Kevin Matthews, módosítva 10 év-val korábban

RE: Sign - in Issue

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2012.05.23. Legújabb bejegyzések
Hi Manish, thank for your quick response I think that may have fixed my problem by editing the user.session to false in the properties file. I will do further testing and let you know

Thanks,
Kevin