Daniel Rall wrote:
> 
> Turbine's ParameterParser utility class makes use of the
> TurbineUploadService to handle upload of files during multipart
> requests automatically:
> 
>         if (tmp != null && tmp.startsWith("multipart/form-data") &&
>             TurbineUpload.getAutomatic())
>         {
>             ...
> 
> If you do not have the TurbineUploadService configured in your
> properties file, the call to getAutomatic() fails internally when the
> TurbineServices broker throws an InstantiationException after being
> passed the name of service it knows nothing about.  This patch allows
> getAutomatic() to be called regardless of whether the service is
> registered in the TurbineResources.properties file.  If no one has a
> problem with it, I will be applying it this weekend.  Let me know if
> you have any questions.

Thanks for catching this one Daniel! I've just applied the patch.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to