User is unable to add attachments

Description

When a user uploads an attachment, user gets a success message but the attachment is no where to be found. Only happens on Glassfish

  1. Add Wiki Portlet

  2. Add Wiki Page

  3. Upload Attachment

This issue issue did NOT exist with glassfish 3.1.1.

Here is the ticket which this change occurred.

Environment

Glassfish 3.1.2 + MySQL 5. Portal 6.1.x CE GIT ID: 4d2d6163d381a570dedd1011599ec81623f01507. Glassfish 3.1.2 + MySQL 5. Portal 6.1.x EE GIT ID: 306aa61f1d4b8518215b88f603573b7a99818422. Glassfish 3.1.2 + MySQL 5. Portal 6.2.x GIT ID: ab237aa9047ebd92c0c59395e492b5ae170ced9a.

Attachments

1

Activity

Show:

Mark Jin July 1, 2012 at 7:12 PM

PASSED Manual Testing following the steps in the description.

Fixed on:
Glassfish 3.1.2 + MySQL 5. Portal 6.1.x EE GIT ID: 2e9ab44a1e60d01c10f69416f65b542a53fdd65f.
Glassfish 3.1.2 + MySQL 5. Portal 6.2.x GIT ID: d0297e3a439fff89052b98229e402b3c208fde61.

Able to upload the Attachments.

Brian Chan June 20, 2012 at 2:12 PM

No need to use the attached JAR now, it's built into our bundles now.

Igor Spasic June 19, 2012 at 6:24 AM

Resolving as fixed, as the attached fixed jar works.

Igor Spasic June 19, 2012 at 5:12 AM

This is not a regression bug, but a new bug that was introduced in Glassfish 3.1.2.

http://java.net/jira/browse/GLASSFISH-18444

Use attached web-core.jar over exsting one in glassfish 3.1.2 (folder: modules). After restart, the upload works as expected.

Igor Spasic June 19, 2012 at 3:31 AM

When using classic uploader, the file seems uploaded, but can't be found anywhere.
When using new (flash) uploader, the error message says: "Please enter a file with a valid file name."
The log does not show any exception.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

4

Caused by

Another improvement

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created June 15, 2012 at 11:20 AM
Updated June 24, 2023 at 3:57 PM
Resolved July 3, 2012 at 12:30 AM
Loading...