[MGNLFORM-231] honeypot field does not prevent form submission when filled Created: 21/May/14  Updated: 26/May/14  Resolved: 23/May/14

Status: Closed
Project: Magnolia Form Module
Component/s: hidden field
Affects Version/s: 1.4.10, 2.2.3
Fix Version/s: 1.4.11, 2.2.4

Type: Bug Priority: Critical
Reporter: Richard Gange Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: Support, trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

To reproduce this issue:

  1. Make sure the mail settings are configured. Submitting of the form requires it.
  2. Add a honey pot field to a form. Here for example: /demo-features/special-templates/contact-form
  3. Use something like firebug to expose the honeypot field.
  4. Fill out all required fields as well as the honeypot field.
  5. Observe the form still submits.

This could be caused by a missing property for the validation. Notice the structure of the honeypot field in the JCR.



 Comments   
Comment by Stefan Baur [ 22/May/14 ]

Hi
Does this mean, that the static field does not create the property it is supposed to?
Stefan

Comment by Roman Kovařík [ 23/May/14 ]

Hello Stefan,

see http://jira.magnolia-cms.com/browse/SUPPORT-3604?focusedCommentId=85629&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-85629

Regards
Roman

Comment by Roman Kovařík [ 23/May/14 ]

Solution is to use hidden field instead of static field for both Magnolia 45/5. Remove obsolete properties in case of Magnolia 5 (repository, ...) as part of this ticket. Setting label 'trivial'.

Generated at Mon Feb 12 05:38:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.