Project

General

Profile

Actions

Bug #75576

closed

EXT:form - inArray Validator broken

Added by Björn Jacob over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2016-04-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The inArray Validator is broken since this patch.

Example form to test:

enctype = multipart/form-data
method = post
prefix = tx_form
confirmation = 0
postProcessor {
    1 = mail
    1 {
        recipientEmail = test@test.de
        senderEmail = sender@test.de
        subject = Form
    }
}
10 = SELECT
10 {
    name = attention
    placeholder = Wie sind Sie auf uns aufmerksam geworden
    class = form-control
    label {
        value = Aufmerksam geworden
    }
    10 = OPTION
    10 {
        text = Wie sind Sie auf uns aufmerksam geworden? *
    }
    20 = OPTION
    20 {
        text = Anzeige Online
        value = Anzeige Online
    }
    30 = OPTION
    30 {
        text = Freunde & Bekannte
        value = Freunde & Bekannte
    }
    40 = OPTION
    40 {
        text = Empfehlung
        value = Empfehlung
    }
    50 = OPTION
    50 {
        text = Persönlicher Kontakt
        value = Persönlicher Kontakt
    }
    60 = OPTION
    60 {
        text = Anzeige Print
        value = Anzeige Print
    }
}
20 = SUBMIT
20 {
    name = submit
    value = Senden
    class = btn btn-white btn-red-outline
}
rules {
    1 = inarray
    1 {
        showMessage = 1
        message = *
        error = Error!
        element = attention
        array {
            1 = Anzeige Online
            2 = Freunde & Bekannte
            3 = Empfehlung
            4 = Persönlicher Kontakt
            5 = Anzeige Print
        }
    }
}
Actions #1

Updated by Björn Jacob over 8 years ago

  • Is Regression changed from No to Yes
Actions #3

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47661

Actions #4

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47661

Actions #5

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47661

Actions #6

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47661

Actions #7

Updated by Gerrit Code Review over 8 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47661

Actions #8

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48594

Actions #9

Updated by Daniel Gohlke over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF