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(),