Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Empty form data causes validationGroup error for Collections #2541

Closed
@zfbot

Description

Jira Information

Original Issue:ZF2-497
Issue Type:Bug
Reporter:outeredge
Created:08/23/12
Assignee:outeredge
Components:Zend\Form

Description

When sending an empty array of data to a form that has Collections with multiple elements within (and that are validated with a validation groups), you will receive an error;

[code]setValidationGroup() expects a list of valid input names; "source" was not found[/code]

With [code]source[/code] being any of the fields in the collection besides the first one.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions