bhaumik156 / fsnet

Automatically exported from code.google.com/p/fsnet
0 stars 0 forks source link

Cant't add a contact twice #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add a contact
2. go on the previous page
3. add the same contact again

What is the expected output? What do you see instead?
it is expected to can't add the contact again, insted there is an exception :

javax.servlet.ServletException: java.lang.IllegalStateException
    org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    fr.univartois.ili.fsnet.core.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
    fr.univartois.ili.fsnet.auth.IsAuthenticatedFilter.doFilter(IsAuthenticatedFilter.java:54)

cause mère

java.lang.IllegalStateException
    fr.univartois.ili.fsnet.facade.ContactFacade.askContact(ContactFacade.java:42)
    fr.univartois.ili.fsnet.actions.ManageContacts.askContact(ManageContacts.java:69)
    sun.reflect.GeneratedMethodAccessor13137.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:616)
    org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
    org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
    org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:166)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    fr.univartois.ili.fsnet.core.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
    fr.univartois.ili.fsnet.auth.IsAuthenticatedFilter.doFilter(IsAuthenticatedFilter.java:54)

What version of the product are you using? 
fsnet-0.7.4
On what operating system?
Ubuntu 10.4

Please provide any additional information below.
navigator : firefox 10.0.2

Original issue reported on code.google.com by pierre.p...@gmail.com on 22 Feb 2012 at 3:04

GoogleCodeExporter commented 9 years ago
Well done ! Fix in progress.

Original comment by francois...@gmail.com on 22 Feb 2012 at 4:22

GoogleCodeExporter commented 9 years ago
This bug is now fixed.

Original comment by Leborgne...@gmail.com on 28 Jan 2013 at 10:41