If I remove

<!-- Includes validation interceptor -->
                <interceptor-ref name="workflow">
                    <param name="excludeMethods">execute,cancel*,previous</param>
                </interceptor-ref>

from my stack I only get one message?

<interceptor-stack name="MyStack">
                <interceptor-ref name="exception" />
                <interceptor-ref name="servletConfig" />
                <interceptor-ref name="chain" />
                <interceptor-ref name="actionFileUpload" />
                <interceptor-ref name="checkbox" />
                <interceptor-ref name="multiselect" />
                <interceptor-ref name="actionMappingParams" />
                <interceptor-ref name="params" />
                <interceptor-ref name="conversionError">
                    <param name="excludeMethods">..</param>
                </interceptor-ref>

<!-- Custom interceptors removed -->

<!-- Includes validation interceptor -->

<interceptor-ref name="workflow">
                    <param name="excludeMethods">..</param>
                </interceptor-ref>

</interceptor-stack>

On 02/10/2025 09:47, Lukasz Lenart wrote:
czw., 2 paź 2025 o 10:03 Greg Huber<[email protected]> napisał(a):
When testing with a zero file size, I get two action error messages:

   * File zero-filesize-test.gif for field uploadedFiles is empty (0
     bytes). Empty file uploads are not allowed.
   * File zero-filesize-test.gif for field uploadedFiles is empty (0
     bytes). Empty file uploads are not allowed.

I have checked my actions and cannot find any duplication.
Do you have <s:actionerrors/> and <s:fielderrors> tags used?


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]

Reply via email to