Project

General

Profile

Actions

Bug #70423

closed

Epic #69955: Optimize new Extbase/ Fluid based rewrite of EXT:form

Warning: array_fill_keys() expects parameter 1 to be array, null given in /form/Classes/Domain/Repository/TypoScriptRepository.php line 96

Added by Frans Saris over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-10-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using this form configuration I get an warning (exception in development context).

prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = info@domain.com
        senderEmail = info@domain.com
        subject = Contact form
    }
}
10 = TEXTLINE
10 {
    name = company
    label {
        value = Company
    }
}
20 = TEXTLINE
20 {
    name = name
    placeholder = Your name
    label {
        value = Name
    }
}
30 = TEXTLINE
30 {
    name = email
    placeholder = Your emailaddres
    label {
        value = Emailaddress
    }
}
40 = SELECT
40 {
    name = Inform me about
    label {
        value = Please send me some info
    }
    10 = OPTION
    10 {
        data = Webdesign
    }
    20 = OPTION
    20 {
        data = TYPO3
    }
    30 = OPTION
    30 {
        data = Something else
    }
}
50 = TEXTAREA
50 {
    cols = 40
    rows = 5
    name = message
    label {
        value = Message
    }
}
60 = SUBMIT
60 {
    class = btn
    name = 5
    value = Send
}
rules {
    1 = required
    1 {
        breakOnError = 0
        showMessage = 1
        message = Required
        error = This field is required
        element = name
    }
    2 = email
    2 {
        breakOnError = 0
        showMessage = 1
        message = (john.doe@domain.com)
        error = This is not a valid email address
        element = email
    }
}
Actions #1

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 http://review.typo3.org/43842

Actions #2

Updated by Ralf Zimmermann over 8 years ago

  • Category set to Form Framework
Actions #3

Updated by Frans Saris over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF