jaspervdj / digestive-functors

A general way to consume input using applicative functors
149 stars 71 forks source link

No ref specified #31

Closed scan closed 12 years ago

scan commented 12 years ago

I have removed a field from a form, in the Haskell and the HTML. Ever since then, in another form that is not connected to the changed one in any way, I only get this message:

A web handler threw an exception. Details:
No ref specified for field

I am using the Snap and Heist versions of digestive-functors. The full source can be found here.

It would be very nice if the error message could contain any hint about which field exactly, and if this error is a problem in the Heist template or the Haskell code. I'm completely lost here, as all the fields in the form are present in the template.

jaspervdj commented 12 years ago

Hello, this issue was already fixed by @ozataman in 70094969168033a9bc33575ac98deca37555b75d. It should work when you update your dependencies to require digestive-functors >= 0.3.0.2. Let me know if you run into any trouble!

scan commented 12 years ago

Funnily enough, after the update the error doesn't even appear any more. Thanks!