[midPoint] Error: There should be no more than 10 files

Hilmar Kistemaker hilmar.kistemaker at mollie.com
Sat Apr 29 13:41:21 CEST 2023


Hi,

I'm getting the following error: "There should be no more than 10 files."
This shows up during different actions, for example: creating a role, task
or a new user. And I'm unable to save changes because of it.
This error only seems to occur when a user is logged in using SAML. If the
same user logs in using a regular username/password the error does not show.

We are running Midpoint version 4.7.

This is a snippet of the log file, it states: Property found in cache:
'uploadTooManyFiles'

23-04-28 13:51:47,151 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.page.DefaultPageLockManager): 'http-nio-8080-exec-9'
attempting to acquire lock to page with id '7'
2023-04-28 13:51:47,151 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.page.DefaultPageLockManager): http-nio-8080-exec-9
acquired lock to page 7
2023-04-28 13:51:47,153 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.protocol.http.servlet.ServletWebRequest): Calculating
context relative path from: context path '/midpoint', filterPrefix '', uri
'/midpoint/admin/role'
2023-04-28 13:51:47,154 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.Localizer): Property found in cache:
'uploadTooManyFiles'; Component: '[MidpointForm [Component id =
mainForm]]'; value: 'There should be no more than ${fileCountMax} files.'
2023-04-28 13:51:47,154 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.feedback.FeedbackMessages): Adding feedback message
'[FeedbackMessage message = "There should be no more than 10 files.",
reporter = mainForm, level = ERROR]'
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add 0 to [FeedbackListView [Component
id = list]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add message to [ListItem [Component id
= 0]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add detailsBox to [MessagePanel
[Component id = message]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add iconType to [WebMarkupContainer
[Component id = detailsBox]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add message to [WebMarkupContainer
[Component id = detailsBox]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Add close to [WebMarkupContainer
[Component id = detailsBox]]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.MarkupContainer): Replacing _header_ in [Page class =
com.evolveum.midpoint.gui.impl.page.admin.role.PageRole, id = 7, render
count = 1]
2023-04-28 13:51:47,157 [] [http-nio-8080-exec-9] DEBUG
(org.apache.wicket.Component): Replacing parent [Page class =
com.evolveum.midpoint.gui.impl.page.admin.role.PageRole, id = 7, render
count = 1] with null


This is a snippet of the SAML settings:

            <saml2 id="3">
                <name>samlSSO</name>
                <description>My internal enterprise SAML-based SSO
system.</description>
                <serviceProvider id="5">
                    <entityId>sp_midpoint</entityId>
                    <alias>okta</alias>
                    <signRequests>false</signRequests>
                    <identityProvider>
                        <entityId>http://www.okta.com/e...</entityId>
                        <metadata>
                            <xml>PD94bWwg....</xml>
                        </metadata>
                        <linkText>OktaSSO Login</linkText>

<authenticationRequestBinding>urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST</authenticationRequestBinding>

<nameOfUsernameAttribute>email</nameOfUsernameAttribute>
                    </identityProvider>
                </serviceProvider>
            </saml2>

            <sequence id="3">
           <identifier>admin-gui-default</identifier>
           <displayName>Default gui sequence</displayName>
           <channel>
               <channelId>
http://midpoint.evolveum.com/xml/ns/public/common/channels-3#user
</channelId>
               <default>false</default>
               <urlSuffix>gui-default</urlSuffix>
           </channel>
           <module id="36">
               <identifier>loginForm</identifier>
               <order>10</order>
               <necessity>sufficient</necessity>
           </module>
        </sequence>

        <sequence id="22">
           <name>admin-gui-default</name>
           <description>
                 SSO
           </description>
           <channel>
               <channelId>
http://midpoint.evolveum.com/xml/ns/public/common/channels-3#user
</channelId>
               <default>true</default>
               <urlSuffix>oktasso</urlSuffix>
           </channel>
           <module id="23">
               <name>samlSSO</name>
               <order>10</order>
               <necessity>sufficient</necessity>
           </module>
        </sequence>


Thank you in advance for your help.

Best regards,
Hilmar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20230429/27a3f00d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2023-04-29 at 13.16.07.png
Type: image/png
Size: 95551 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20230429/27a3f00d/attachment-0001.png>


More information about the midPoint mailing list