Perte de l'affichage "Group by" quand utilisation de l'odre de tri de l'écran Rechercher

J’ai une liste des contacts groupés par Antenne :

Le formulaire de recherche propose une option ordre de tri

quand j’ajoute un tri et que je fais ‘Appliquer’, le tri est effectué mais on perd l’affichage en “Goup by”

Merci, c’est corrigé sur le master.

Bonjour,

je n’arrive pas à tester, accès impossible aux instances de test upgradées avec le dernier master d’hier soir : String index out of range: -1

2018-08-23 10:26:06,805 INFO [com.simplicite.util.engine.Platform] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.Platform|start||Param:(Platform on endpoint [https://Test-sim:10173/test] is starting…)
2018-08-23 10:26:06,870 INFO [com.simplicite.util.engine.CoreCache] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.CoreCache|initObjectCache||Param:(OBJECT_CACHE_SIZE=10000)
2018-08-23 10:26:06,876 INFO [com.simplicite.util.engine.CoreCache] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.CoreCache|initProcessCache||Param:(PROCESS_CACHE_SIZE=10000)
2018-08-23 10:26:06,899 INFO [com.simplicite.util.tools.DocTool] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.tools.DocTool|init||Param:(155 MIME types loaded)
2018-08-23 10:26:10,034 INFO [com.simplicite.util.engine.DynamicClassLoader] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.DynamicClassLoader|DynamicClassLoader||Param:(Instanciate DynamicClassLoader 128630311)
2018-08-23 10:26:10,332 INFO [com.simplicite.util.engine.DynamicClassLoader] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.DynamicClassLoader|compile||Param:(Deleting source and binary directories)
2018-08-23 10:26:10,359 INFO [com.simplicite.util.engine.DynamicClassLoader] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.DynamicClassLoader|DynamicClassLoader||Param:(Instanciate DynamicClassLoader 523497413)
2018-08-23 10:26:10,359 INFO [com.simplicite.util.engine.CoreCache] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.CoreCache|loadDynamicJar||Param:(Loaded dynamic JAR /home/test/tomcat/webapps/test/WEB-INF/build/dynamic.jar)
2018-08-23 10:26:10,362 INFO [com.simplicite.util.engine.GrantManager] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.GrantManager|initObjectCache||Param:(GRANT_CACHE_SIZE=0)
2018-08-23 10:26:10,363 INFO [com.simplicite.util.engine.Platform] SIMPLICITE|https://Test-sim:10173/test|/test||system|com.simplicite.util.engine.Platform|started||Param:(Platform on endpoint https://Test-sim:10173/test started)
2018-08-23 10:26:10,776 INFO [com.simplicite.util.engine.Platform] SIMPLICITE|https://Test-sim:10173/test|/test|PLATFORM|system|com.simplicite.util.engine.Platform|addNode||Registered node = https://Test-sim:10173/test
2018-08-23 10:26:11,042 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||LicenseReminder has been scheduled to run at: Fri Aug 24 10:15:00 CEST 2018 and repeat based on expression: 0 15 10 * * ?
2018-08-23 10:26:11,043 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||ModuleAutoUpdate has been scheduled to run at: Fri Aug 24 04:00:00 CEST 2018 and repeat based on expression: 0 0 4 * * ?
2018-08-23 10:26:11,044 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||deadlineProcess has been scheduled to run at: Thu Aug 23 11:00:00 CEST 2018 and repeat based on expression: 0 0 0/1 * * ?
2018-08-23 10:26:11,045 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||HealthCheck has been scheduled to run at: Thu Aug 23 11:00:00 CEST 2018 and repeat based on expression: 0 0 0/1 * * ?
2018-08-23 10:26:11,046 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||PruneJobs has been scheduled to run at: Fri Aug 24 01:00:00 CEST 2018 and repeat based on expression: 0 0 1 * * ?
2018-08-23 10:26:11,046 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||ClearUserTokens has been scheduled to run at: Thu Aug 23 11:00:00 CEST 2018 and repeat based on expression: 0 0 0/1 * * ?
2018-08-23 10:26:11,047 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||ObjectFullGC has been scheduled to run at: Thu Aug 23 10:33:00 CEST 2018 and repeat based on expression: 0 3/30 * * * ?
2018-08-23 10:26:11,048 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||DesignAudit has been scheduled to run at: Fri Aug 24 06:15:00 CEST 2018 and repeat based on expression: 0 15 6 * * ?
2018-08-23 10:26:11,049 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||deadlineActivity has been scheduled to run at: Thu Aug 23 11:00:00 CEST 2018 and repeat based on expression: 0 0 0/1 * * ?
2018-08-23 10:26:11,050 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||PruneLogs has been scheduled to run at: Fri Aug 24 01:15:00 CEST 2018 and repeat based on expression: 0 15 1 * * ?
2018-08-23 10:26:11,064 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||ImportXML has been scheduled to run at: Thu Aug 23 10:30:00 CEST 2018 and repeat based on expression: 0 0/5 * * * ?
2018-08-23 10:26:11,065 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||deadlockActivity has been scheduled to run at: Thu Aug 23 10:30:00 CEST 2018 and repeat based on expression: 0 0/15 * * * ?
2018-08-23 10:26:11,066 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||ObjectDynGC has been scheduled to run at: Thu Aug 23 10:35:00 CEST 2018 and repeat based on expression: 0 5/15 * * * ?
2018-08-23 10:26:11,066 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM003|system|com.simplicite.util.engine.CronManager|loadTriggers||deadlineState has been scheduled to run at: Thu Aug 23 11:00:00 CEST 2018 and repeat based on expression: 0 0 0/1 * * ?
2018-08-23 10:26:11,069 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM001|system|com.simplicite.util.engine.CronManager|start||Cron manager was started at Thu Aug 23 10:26:11 CEST 2018
2018-08-23 10:26:11,073 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.CronManager|run||Event: Next cron job: ImportXML at Thu Aug 23 10:30:00 CEST 2018
2018-08-23 10:26:11,073 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.CronManager|run||Event: Next cron job: deadlockActivity at Thu Aug 23 10:30:00 CEST 2018
2018-08-23 10:26:11,073 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.CronManager|run||Event: Cron manager is sleeping for 0:03:48…
2018-08-23 10:26:13,190 INFO [com.simplicite.util.engine.JobQueue$PoolWorker] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.JobQueue$PoolWorker|run||Event: Worker SimplicitePoolWorker-0 has been started.
2018-08-23 10:26:13,267 INFO [com.simplicite.objects.System.Theme] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.objects.System.Theme|partialClearCache||Event: Partial clear cache for theme ThemeAdmin
2018-08-23 10:26:13,699 INFO [com.simplicite.objects.System.Theme] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.objects.System.Theme|partialClearCache||Event: Partial clear cache for theme ThemeDark
2018-08-23 10:26:13,924 INFO [com.simplicite.objects.System.Theme] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.objects.System.Theme|partialClearCache||Event: Partial clear cache for theme ThemeDefault
2018-08-23 10:26:14,175 INFO [com.simplicite.objects.System.Theme] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.objects.System.Theme|partialClearCache||Event: Partial clear cache for theme ThemeLight
2018-08-23 10:28:01,988 ERROR [com.simplicite.webapp.servlets.ui.MainPublicServlet] SIMPLICITE|https://Test-sim:10173/test|/test|ERROR|system|com.simplicite.webapp.servlets.ui.MainPublicServlet|service||Event: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1931)
at com.simplicite.util.tools.HTTPTool.split(HTTPTool.java:877)
at com.simplicite.webapp.tools.ServletTool.split(ServletTool.java:311)
at com.simplicite.webapp.servlets.ui.MainPublicServlet.service(MainPublicServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
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 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at com.simplicite.tomcat.valves.APISessionValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
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)
2018-08-23 10:30:00,115 INFO [Logon] SIMPLICITE|https://Test-sim:10173/test|/test|SESSION|system|Logon|login (direct)||Session utilisateur=system/job_ImportXML time=0
2018-08-23 10:30:00,235 INFO [com.simplicite.util.CronJob] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM004|system|com.simplicite.util.CronJob|run||Execute job ImportXML at 2018-08-23 10:30:00
2018-08-23 10:30:00,254 INFO [com.simplicite.util.CronJob] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM005|system|com.simplicite.util.CronJob|run||Result of job ImportXML : No XML file to import.
2018-08-23 10:30:00,279 INFO [Logon] SIMPLICITE|https://Test-sim:10173/test|/test|SESSION|system|Logon|login (direct)||Session utilisateur=system/job_deadlockActivity time=0
2018-08-23 10:30:00,386 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.CronManager|run||Event: Next cron job: ObjectFullGC at Thu Aug 23 10:33:00 CEST 2018
2018-08-23 10:30:00,387 INFO [com.simplicite.util.engine.CronManager] SIMPLICITE|https://Test-sim:10173/test|/test|INFO|system|com.simplicite.util.engine.CronManager|run||Event: Cron manager is sleeping for 0:02:59…
2018-08-23 10:30:00,391 INFO [com.simplicite.util.CronJob] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM004|system|com.simplicite.util.CronJob|run||Execute job deadlockActivity at 2018-08-23 10:30:00
2018-08-23 10:30:00,395 INFO [com.simplicite.util.engine.ProcessScheduler] SIMPLICITE|https://Test-sim:10173/test|/test|ICORETM009|system|com.simplicite.util.engine.ProcessScheduler|manageDeadlockActivity||System param ACTIVITY_LOCK_LIMIT = 3600s
2018-08-23 10:30:00,480 INFO [com.simplicite.util.CronJob] SIMPLICITE|https://Test-sim:10173/test|/test|ICORECM005|system|com.simplicite.util.CronJob|run||Result of job deadlockActivity :
2018-08-23 10:30:25,056 ERROR [com.simplicite.webapp.servlets.ui.MainPublicServlet] SIMPLICITE|https://Test-sim:10173/test|/test|ERROR|system|com.simplicite.webapp.servlets.ui.MainPublicServlet|service||Event: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1931)
at com.simplicite.util.tools.HTTPTool.split(HTTPTool.java:877)
at com.simplicite.webapp.tools.ServletTool.split(ServletTool.java:311)
at com.simplicite.webapp.servlets.ui.MainPublicServlet.service(MainPublicServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
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 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at com.simplicite.tomcat.valves.APISessionValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
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)

Nous avons effectivement poussé des évolutions sur le parsing de items du path. En context path root (/) ça ne pose pas de pb mais je vois que vous êtes avec un context path non root (/test), nous allons regarder ce qui se passe dans ce cas.

Je reproduis effectivement le pb avec une instance master déployée en /test
je vous tiens au courant

NB: le pb ne se produit que sur la page d’accueil publique en tapant <url>/<ontext>/ui ça marche normalement.
Ex: https://testnonroot.bretagne.simplicite.io/test/ => erreur mais https://testnonroot.bretagne.simplicite.io/test/ui => ça marche

C’est corrigé et poussé sur la branche master (si vous faiteun sim refresh manuel vous pouvez mettre à jour vos instances)

ok, je regarde et je te redis

c’est bon, ça fonctionne

et je viens de tester la connexion crowd, je récupère bien le service et la direction :)

Ok parfait,
on est un peu sorti du sujet du post. mais à l’avenir il faudra penser à refaire des tests d’intégration lorsque vous upgradez CROWD.