FILE: .../src/Plugin/Validation/Constraint/UniqueEntityTitleValidator.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
 24 | ERROR | There must be no space between ? and :
----------------------------------------------------------------------

Time: 83ms; Memory: 6Mb
CommentFileSizeAuthor
#6 3128879-6.patch982 byteskarishmaamin
#2 3128879-2.patch986 bytesshaktik
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

shaktik created an issue. See original summary.

shaktik’s picture

Issue tags: +DIACWApril2020
StatusFileSize
new986 bytes
shaktik’s picture

Assigned: shaktik » Unassigned
snehalgaikwad’s picture

Status: Needs review » Reviewed & tested by the community

The error is resolved now.

imalabya’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/src/Plugin/Validation/Constraint/UniqueEntityTitleValidator.php
@@ -21,7 +21,7 @@ class UniqueEntityTitleValidator extends ConstraintValidator {
+        $unique_entity_title_label = \Drupal::config('core.base_field_override.node.' . $entity_bundle . '.title')->get('label') ? 'Title' : '';

This changes the whole condition.

karishmaamin’s picture

Status: Needs work » Needs review
StatusFileSize
new982 bytes

Fixed the coding standards and retained the condition. Please review

i-trokhanenko’s picture

Status: Needs review » Needs work

Please create a MR

i-trokhanenko’s picture

Status: Needs work » Closed (duplicate)

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.