Coder Social home page Coder Social logo

Comments (5)

felixge avatar felixge commented on May 22, 2024

with the patch to fix the problem where you cannot submit multiple fields with the same name

There is no such problem, if you listen to the 'file' events directly.

If the browser posts a multi-part POST request with no parts

How would this happen? By submitting a form without any fields in it?

--fg

from formidable.

 avatar commented on May 22, 2024

Yes, no fields. I have a section of a page where the presence of the fields is dependent on app state. I had to add a dummy hidden field to work around this problem. It would not have been a big deal if I had not spent a full day chasing it down. Maybe this post can save another person the same trouble.

I do appreciate your efforts and the usefulness of Formidable. However, I will argue one last time about the feature that provides the fields in an object. This feature loses data and is broken. You should either pull the feature or fix it.

You can stubbornly argue that since one can work around this bug that it is not a bug. You are free to do this. I am also stubborn and I do not want to learn how to code listeners in Formidable. I was able to quickly install Formidable and start using it without even realizing it had events. The friendly patch that you refuse to pull solves my problem nicely.

You mentioned "purity" in a recent post. This feature bug is definitely impure. My coding event listeners would be an impure kludge.

That's it. I'll shut up now and quit sowing FUD.

Mark Hahn
Website Manager
[email protected]

from formidable.

felixge avatar felixge commented on May 22, 2024

Thanks for the bug report, I'll look into it.

You can stubbornly argue that since one can work around this bug that it is not a bug.

I think as the author of the module, I get to define the expected behavior of it. What you are calling a bug, is a leaky abstraction. I will certainly address it in a future release, but please note the difference between this problem, and the actual bug you discovered and reported in this ticket. One is the result of a conscious choice of mine that didn't find popular appeal, the other is a defect in the Software that I had no awareness of having introduced.

--fg

from formidable.

 avatar commented on May 22, 2024

I apologize for mixing the two together. I was originally just trying to state in some way what version I was running. Then I got carried away (as usual) in the follow-up discussion.

Thanx for the great sw.

from formidable.

felixge avatar felixge commented on May 22, 2024

No harm done, and thanks again for the bug report, I hope to fix this ASAP : )

from formidable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.