If a node object can be loaded from the route, then an extra condition is added to the query to exclude it from the validation, (considering that we are on node edit page) but this should not be excluded from the validation because we are on node clone page.

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

cslevy created an issue. See original summary.

astonvictor’s picture

Issue tags: +LutskGCW26
id.conky’s picture

Assigned: Unassigned » id.conky
Status: Active » Needs work

id.conky’s picture

Assigned: id.conky » Unassigned
Status: Needs work » Needs review

Added compatibility with the Quick Node Clone module (https://www.drupal.org/project/quick_node_clone). Additionally, refined the module's logic to allow other modules to participate in validation processes.

  • astonvictor committed f1b9008e on 8.x-2.x authored by id.conky
    feat: #2914529 Added more flexibility to control unique_field validation...
astonvictor’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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