lucee html 5 multiple upload patch

66 views
Skip to first unread message

Bruce Kirkpatrick

unread,
Aug 8, 2015, 2:17:31 PM8/8/15
to Lucee
Micha,

on the old ticket and pull request for this, you said I broke compatibility with other things with my change, but I didn't know what those things were.

I have never experienced a problem from that change, but I'm sure you are right.

I just upgraded from Railo to Lucee for the first time, and learned how to install / build it from the bitbucket instructions (you made it easier now - good work), and I did this patch again, and again it fixes the multiple upload feature.

On the master branch of lucee on bitbucket, I found another way to ensure the key on that fileItems object is a unique name.

Is this an acceptable fix now?

\lucee-git\lucee-java\lucee-core\src\lucee\runtime\type\scope\FormImpl.java
line 1: 184: change:
fileItems.put(item.getFieldName().toLowerCase(),
to:
fileItems.put(getFileName(),

Andrew Dixon

unread,
Aug 8, 2015, 3:00:24 PM8/8/15
to lu...@googlegroups.com
Micha, I would like this fixed as well, as I think I commented on that ticket many times. Also I think there might be an inherent slowness with file upload in Lucee, compared to ACF, I have a setup now where I can test this, so I will let you know, but maybe the whole thing needs looking into more closely or even rewriting completely.

Also Bruce, if you want to submit a pull request the code base is now on GitHub (https://github.com/lucee/Lucee4) and for Lucee 5 (https://github.com/lucee/Lucee) it changes quiet a bit.

Kind regards,

Andrew

--
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your ticket NOW - http://www.cfcamp.org/
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/61dd3532-80c0-450f-ad2f-44bca7d3925d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bruce Kirkpatrick

unread,
Mar 22, 2016, 11:36:08 AM3/22/16
to Lucee
Michael posted a commit for multiple file upload support in the newest version of 4.5 and 5 on github today.

Andrew Dixon

unread,
Mar 22, 2016, 12:55:47 PM3/22/16
to lu...@googlegroups.com
Yippee... :-)

Kind regards,

Andrew

--
Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages