Issue Details (XML | Word | Printable)

Key: WW-223
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mathias Bogaert
Reporter: Scott Farquhar
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebWork

Multipart & SaveDir

Created: 08/Jul/03 04:47 AM   Updated: 23/Oct/04 05:12 PM
Component/s: None
Affects Version/s: 2.0-beta1, 2.0-beta2
Fix Version/s: 2.1.5


 Description  « Hide
Reporter: Armond Avanes

Seems "com.opensymphony.webwork.dispatcher.ServletDispatcher" class is caching the value of "webwork.multipart.saveDir" property (at init() of servlet) and it causes problems when I want to change this prop's value after initialization (at runtime).

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Lightbody added a comment - 16/Nov/03 06:20 PM
I'll get around to this post-2.0

Mathias Bogaert added a comment - 19/Oct/04 08:07 AM
Fixed this. Now on multipart requests, it will consult the (changed) configuration and not cache any values again. This also means a warning message about not setting a save directory and max size on every request, and not on startup.

Patrick Lightbody added a comment - 23/Oct/04 05:12 PM
FYI: i just changed "warn" to "info" for that message -- it had been annoying a few users anyway.