Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12872

File UploadMultipart does not work for files greater than 10 kB with PicketLink SSO is enabled

XMLWordPrintable

    • Hide
      • Unzip a fresh installation of the JBoss EAP 7.2.3 and apply one-off patch from JBEAP-17609
      • Copy the attached standalone.xml, properties files and into the $JBOSS_HOME/standalone/configuration.
      • Start the JBoss and deploy the attached applications modified to work with PicketLink.
      • Open a private windows of the browser and open the link: http://localhost:8080//ReferenceCodeMapper70
      • Login in the application using user: jboss and pass: jboss@123
      • Select a file size 20 kB and click on upload.
      • Test by uploading files less than 10 kB.

      Test with file size 20 kB:

      2019-10-17 08:06:11,097 INFO  [stdout] (default task-1) IN File Upload !
      2019-10-17 08:06:11,099 INFO  [stdout] (default task-1) File is NULL
      2019-10-17 08:06:11,099 INFO  [stdout] (default task-1) filename attribute from DTO:GreaterThan10KFileUpload.log
      

      Test with files less than 10 kB:

      2019-10-17 08:17:07,674 INFO  [stdout] (default task-1) IN File Upload !
      2019-10-17 08:17:07,675 INFO  [stdout] (default task-1) File is NOT NULL
      2019-10-17 08:17:07,675 INFO  [stdout] (default task-1) filename attribute from DTO:host-slave.xml
      2019-10-17 08:17:07,676 INFO  [stdout] (default task-1) file attribute from DTO:host-slave.xml
      2019-10-17 08:17:07,676 INFO  [stdout] (default task-1) After else:
      
      Show
      Unzip a fresh installation of the JBoss EAP 7.2.3 and apply one-off patch from JBEAP-17609 Copy the attached standalone.xml, properties files and into the $JBOSS_HOME/standalone/configuration. Start the JBoss and deploy the attached applications modified to work with PicketLink. Open a private windows of the browser and open the link: http://localhost:8080//ReferenceCodeMapper70 Login in the application using user: jboss and pass: jboss@123 Select a file size 20 kB and click on upload. Test by uploading files less than 10 kB. Test with file size 20 kB: 2019-10-17 08:06:11,097 INFO [stdout] (default task-1) IN File Upload ! 2019-10-17 08:06:11,099 INFO [stdout] (default task-1) File is NULL 2019-10-17 08:06:11,099 INFO [stdout] (default task-1) filename attribute from DTO:GreaterThan10KFileUpload.log Test with files less than 10 kB: 2019-10-17 08:17:07,674 INFO [stdout] (default task-1) IN File Upload ! 2019-10-17 08:17:07,675 INFO [stdout] (default task-1) File is NOT NULL 2019-10-17 08:17:07,675 INFO [stdout] (default task-1) filename attribute from DTO:host-slave.xml 2019-10-17 08:17:07,676 INFO [stdout] (default task-1) file attribute from DTO:host-slave.xml 2019-10-17 08:17:07,676 INFO [stdout] (default task-1) After else:

      The fix provided on the JBEAP-17467 for File UploadMultipart using PicketLink SSO (set up IDPs and SPs via the Federation Subsystem) does not work for files greater than 10 kB.

            rhn-support-ivassile Ilia Vassilev
            rhn-support-ivassile Ilia Vassilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: