This might be an easy fix, but I'm seeing this when opening the link popup and making a link.

Warning: Missing argument 3 for _editor_advanced_link_attributes_validate() in _editor_advanced_link_attributes_validate()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

vilepickle created an issue. See original summary.

Anonymous’s picture

Version: 8.x-1.x-dev » 8.x-1.3

It looks like this may have already been fixed in dev...

Paul Dudink’s picture

I haven't checked whether or not this issue has been fixed, however I have been looking at the code and the "issue" is still there in the dev code:
The third parameter is $form, but $form is not being used in the function, so why is there in the first place?
The parameter should be removed.

myLies’s picture

Status: Active » Needs review
FileSize
673 bytes

@vrijdenker - you are right, form validation\submit callback should have same hook_form_alter parameters
attached patch should fix it

Paul Dudink’s picture

I'm sorry I have to take back my last comment. I may have been looking at old code, since I just switched to the dev-branch and the third parameter is gone after all. So indeed the bug has been fixed in the dev-branch.

@myLies: I'm not sure whether your patch should be applied or not. The bug as mentioned by @vilepickle has been fixed after all.

weseze’s picture

Attached patch should fix it against the stable release 1.3.

DuaelFr’s picture

Version: 8.x-1.3 » 8.x-1.x-dev
Status: Needs review » Closed (duplicate)
Related issues: +#2823686: Repeated error: missing argument 3

Already solved by #2823686: Repeated error: missing argument 3
I'll make a new release soon