With multifactor authentication set on a population, the following error is raised in front office logs when trying to authenticate:
Pile d'appels :org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:190:109 at org.apache.cocoon.ProcessingException#throwLocated:113 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:122 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.Cocoon#process:699 at org.ametys.runtime.servlet.RuntimeServlet#service:717 at javax.servlet.http.HttpServlet#service:623 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:199 at org.apache.catalina.core.ApplicationFilterChain#doFilter:144 at org.apache.tomcat.websocket.server.WsFilter#doFilter:51 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:168 at org.apache.catalina.core.ApplicationFilterChain#doFilter:144 at org.apache.catalina.core.StandardWrapperValve#invoke:168 at org.apache.catalina.core.StandardContextValve#invoke:90 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:482 at org.apache.catalina.core.StandardHostValve#invoke:130 at org.apache.catalina.valves.ErrorReportValve#invoke:93 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:660 at org.apache.catalina.core.StandardEngineValve#invoke:74 at org.apache.catalina.connector.CoyoteAdapter#service:346 at org.apache.coyote.http11.Http11Processor#service:396 at org.apache.coyote.AbstractProcessorLight#process:63 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:937 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1791 at org.apache.tomcat.util.net.SocketProcessorBase#run:52 at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:1190 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:659 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:63 at java.base/java.lang.Thread#run:1583Caused by: java.lang.RuntimeException: Unable to send the multifactor authentication code to user 7614708048#utilisateurs-externes. at org.ametys.plugins.core.authentication.MultifactorAuthenticationManager#sendMultifactorAuthenticationCodeByMail:572 at org.ametys.plugins.core.impl.authentication.FormCredentialProvider#_sendMFACodeByEmail:436 at org.ametys.plugins.core.impl.authentication.FormCredentialProvider#blockingGetUserIdentity:493 at org.ametys.core.authentication.CredentialProvider#getUserIdentity:130 at org.ametys.core.authentication.AuthenticateAction#_doProcess:693 at org.ametys.core.authentication.AuthenticateAction#_process:657 at org.ametys.core.authentication.AuthenticateAction#act:266 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:139 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 ... 34 moreCaused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/core-ui/wrapped-mail/standard/body.html at org.apache.cocoon.components.source.impl.SitemapSource#getInputStream:253 at org.ametys.core.ui.mail.StandardMailBodyHelper$MailBodyBuilder#build:461 at org.ametys.plugins.core.authentication.MultifactorAuthenticationManager#sendMultifactorAuthenticationCodeByMail:562 ... 55 moreCaused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/wrapped-mail/standard/body.html org.apache.cocoon.ProcessingException: Unable to get transformer handler for view:/stylesheets/mail/standard/template.xsl at <map:serialize type="xhtml"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:269:50 at <map:transform type="i18n"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:265:60 at <map:transform> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:262:83 at <map:transform type="i18n"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:258:60 at <map:generate type="action-result"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:257:57 at org.apache.cocoon.components.source.impl.SitemapSource#init:380 at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215 at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68 at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208 at org.ametys.core.ui.mail.StandardMailBodyHelper$MailBodyBuilder#build:460 ... 56 moreCaused by: org.apache.cocoon.ProcessingException: Unable to get transformer handler for view:/stylesheets/mail/standard/template.xsl at <map:serialize type="xhtml"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:269:50 at <map:transform type="i18n"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:265:60 at <map:transform> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:262:83 at <map:transform type="i18n"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:258:60 at <map:generate type="action-result"> - resource://org/ametys/runtime/plugins/core-ui/sitemap.xmap:257:57 at org.apache.cocoon.transformation.TraxTransformer#setup:339 at org.ametys.runtime.cocoon.TraxTransformer#setup:50 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#setupPipeline:400 at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#setupPipeline:738 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#preparePipeline:503 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#prepareInternal:517 at org.apache.cocoon.components.source.impl.SitemapSource#init:343 ... 60 moreCaused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from view:/stylesheets/mail/standard/template.xsl at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_createTemplates:451 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_getTemplates:230 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#getTransformerHandlerAndValidity:177 at org.apache.cocoon.transformation.TraxTransformer#setup:332 ... 66 moreCaused by: org.apache.excalibur.source.SourceNotFoundException: view:/stylesheets/mail/standard/template.xsl doesn't exist. at org.apache.excalibur.source.impl.FileSource#getInputStream:150 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_sourceToSAX:463 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_createTemplates:411 ... 69 moreCaused by: java.io.FileNotFoundException: /stylesheets/mail/standard/template.xsl (No such file or directory) at java.base/java.io.FileInputStream#open0 (Native Method) at java.base/java.io.FileInputStream#open:213 at java.base/java.io.FileInputStream#<init>:152 at org.apache.excalibur.source.impl.FileSource#getInputStream:146 ... 71 more