Image du projet 'Offre de formation' téléversée
  1. Offre de formation
  2. FORMATION-776

Erreur d'affichage de la fiche si on saisit un nombre à virgules dans les cartes

    XMLWordImprimable

    Informations

    • Type: Bug
    • Etat: A Valider
    • Priorité: Mineur
    • Résolution: Non résolu
    • Affecte la/les version(s): 2.07.19
    • Version(s) corrigée(s): master, 2.07.22
    • Composants: Aucune
    • Etiquettes:
      Aucune

      Description

      Dans l'une des cartes chiffres-clés, saisir par exemple 4,5 : ce format est autorisé à la saisie, on peut donc enregistrer.

      Mais cela casse l'affichage en front-office :

      org.apache.jasper.JasperException: Exception lancée durent le traitement de [/extensions/ofin/WEB-INF/jsp/layout/card/fo/view/internationalCardView.jsp] à la ligne [42]
      
      39:                 <dt <%=FrontUtil.addDataTest("ofin-internationalCoursLangueEtrangereLibelle")%> ><%= StringUtils.defaultString(card.getCourslangueetrangerelibelle()) %> <%= StringUtils.isNotBlank(card.getCourslangueetrangerecommentaire()) ? "*" : StringUtils.EMPTY %></dt>
      40:                 <dd <%=FrontUtil.addDataTest("ofin-internationalCoursLangueEtrangere")%> >
      41:                     <div class="taux">
      42:                         <jsp:include page="fragments/radial-progress.jsp">
      43:                             <jsp:param name="css" value="radial-progress" />
      44: 							<jsp:param name="duration" value="2000" />
      45:                             <jsp:param name="value" value="<%= Integer.parseInt(card.getCourslangueetrangerepourcentage()) %>" />
      
      
      Stacktrace:
      	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:617)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:583)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:519)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:175)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:156)
      	at com.kosmos.layout.tag.AbstractLayoutTag.includeJSP(AbstractLayoutTag.java:83)
      	at com.kosmos.layout.card.tag.CardTag.doStartTag(CardTag.java:39)
      	at org.apache.jsp.WEB_002dINF.jsp.layout.slot.fo.view.containerSlotView_jsp._jspService(containerSlotView_jsp.java:163)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:583)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:519)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:175)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:156)
      	at com.kosmos.layout.tag.AbstractLayoutTag.includeJSP(AbstractLayoutTag.java:83)
      	at com.kosmos.layout.slot.tag.SlotTag.doStartTag(SlotTag.java:38)
      	at org.apache.jsp.WEB_002dINF.jsp.layout.grid.fo.containerGrid_jsp._jspService(containerGrid_jsp.java:167)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:583)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:519)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:175)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:156)
      	at com.kosmos.layout.tag.AbstractLayoutTag.includeJSP(AbstractLayoutTag.java:83)
      	at com.kosmos.layout.tag.LayoutTag.doStartTag(LayoutTag.java:39)
      	at org.apache.jsp.extensions.ofin.WEB_002dINF.jsp.formation.fo.fiche_jsp._jspService(fiche_jsp.java:209)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:583)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:519)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:175)
      	at com.kportal.frontoffice.util.JSPIncludeHelper.includeJsp(JSPIncludeHelper.java:156)
      	at org.apache.jsp.jsp.fiche_005fobjet_jsp._jspService(fiche_005fobjet_jsp.java:817)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.kportal.ihm.FrontOfficeFilter.doFilter(FrontOfficeFilter.java:64)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.univ.utils.filter.ForwardContexteFilter.doFilter(ForwardContexteFilter.java:62)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:713)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:462)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:387)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:315)
      	at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)
      	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
      	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1286)
      	at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1041)
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:984)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
      	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.kosmos.log.MDCFilter.doFilter(MDCFilter.java:59)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.jsbsoft.jtf.core.LogAppFilter.doFilter(LogAppFilter.java:123)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at ro.isdc.wro.http.WroContextFilter.doFilter(WroContextFilter.java:64)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.kportal.pdf.PDFFilter.doFilter(PDFFilter.java:125)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.univ.url.filter.SiteAliasResolutionFilter.doFilter(SiteAliasResolutionFilter.java:58)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.univ.multisites.filter.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:69)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.univ.utils.filter.ContexteFilter.doFilter(ContexteFilter.java:58)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.univ.utils.filter.HoneyPotFilter.doFilter(HoneyPotFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NumberFormatException: For input string: "4.5"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:580)
      	at java.lang.Integer.parseInt(Integer.java:615)
      	at org.apache.jsp.extensions.ofin.WEB_002dINF.jsp.layout.card.fo.view.internationalCardView_jsp._jspService(internationalCardView_jsp.java:182)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	... 141 common frames omitted
      

        Pièces jointes

          Activité

            Personnes

            • Responsable:
              alice.ark Alice ARK [X] (Inactif)
              Rapporteur:
              alice.ark Alice ARK [X] (Inactif)
            • Votes:
              0 Voter pour cette demande
              Gérer les observateurs:
              4 Commencer l'observation de cette demande

              Dates

              • Création:
                Mise à jour: