Problem/Motivation

The module assumes that the field is always added directly to a node, but it can be attached also to a paragraph.

Steps to reproduce

Attach the field to a paragraph and try to submit some invalid data (like `test` as url), the validation function passes without any error.

Proposed resolution

Use the values in $parents to extract the field values.

Remaining tasks

Implement, test.

User interface changes

None

API changes

None

Data model changes

None

Issue fork iframe-3231223

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lussoluca created an issue. See original summary.

lussoluca’s picture

Status: Active » Needs review

neffets made their first commit to this issue’s fork.

  • neffets committed 4802a87 on 8.x-2.x authored by lussoluca
    Issue #3231223: Form validations doesn't work when the field is on a...
neffets’s picture

Status: Needs review » Fixed

I checked it for the default case: "direct cck-field iframe" - its still working.
So I merged it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.