Lorsqu'on importe une fiche dont le code comporte un tiret, celui-ci échoue avec l'erreur suivante :
2020-12-11_18:40:33.332 [http-nio-8080-exec-8] [154C80FC8EF3F5580F3774E196E79BF5.ksup1] ERROR com.univ.xml.imports.ImportManager - Erreur dans l'entête de l'item com.jsbsoft.jtf.exception.ErreurApplicative: Le code de l'objet login- est invalide, il ne doit être composé que de caractères alphanumériques at com.univ.xml.TraitementImportNode.execute(TraitementImportNode.java:143) at com.univ.xml.imports.ImportManager.execute(ImportManager.java:394) at com.univ.xml.imports.ImportManager.execute(ImportManager.java:209) at com.univ.objetspartages.processus.TraitementFichierXML.traiterIMPORT(TraitementFichierXML.java:287) at com.univ.objetspartages.processus.TraitementFichierXML.traiterAction(TraitementFichierXML.java:144) at com.jsbsoft.jtf.core.ProcessusManager.traiterAction(ProcessusManager.java:242) at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxProcessus(ProcedureBean.java:500) at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxRetour(ProcedureBean.java:210) at com.jsbsoft.jtf.core.ProcedureBean.descriptifFluxRetour(ProcedureBean.java:238) at com.jsbsoft.jtf.core.TraitementRequeteHTTP.traiterRequeteHTTP(TraitementRequeteHTTP.java:486) at com.jsbsoft.jtf.core.SG.doGet(SG.java:46) at com.jsbsoft.jtf.core.SG.doPost(SG.java:59) at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) 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 net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209) 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.univ.multisites.filter.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:61) 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: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.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)
Cette erreur ne survient pas en 6.7
Il faudrait autoriser les mêmes caractères que ceux autorisés à la saisie.
- lié à
-
IMPORTXML-89 Incohérence entre les codes autorisés par import et en saisie BO / FO.
- Fini