Comments

jibran created an issue. See original summary.

jibran’s picture

Issue tags: +Needs tests
StatusFileSize
new1.46 KB

Here is the patch for the fix. Just needs a test.

jibran’s picture

Status: Active » Needs review
jibran’s picture

Issue tags: -Needs tests
StatusFileSize
new10.81 KB
new9.66 KB
new11.37 KB

Tests++

jibran’s picture

StatusFileSize
new824 bytes
new9.69 KB
new11.4 KB
new11.59 KB
jibran’s picture

StatusFileSize
new3.76 KB
new10.57 KB
new12.42 KB
jibran’s picture

Issue summary: View changes
dpi’s picture

Status: Needs review » Needs work
+    $options = array_filter(array_keys($labels[(string) t('Content', [], ['context' => 'Entity type group'])]), function ($entity_type_id) {

Uggo.

+      $form_state->setError($element, t('At lest select one entity type ID.'));

Typo.

Theres also tests asserting this typo.

dpi’s picture

Title: At lest select one entity type ID on field storage setting form » Select at least one entity type ID on field storage setting form
jibran’s picture

Status: Needs work » Needs review
StatusFileSize
new2.13 KB
new2.07 KB
new12.42 KB
new11.41 KB

This happens when you make one typo and copy paste it everywhere. :D Thanks for the review.

dpi’s picture

Status: Needs review » Reviewed & tested by the community

:D

  • jibran committed 4225e98 on 8.x-2.x
    Issue #2881996 by jibran, dpi: Select at least one entity type ID on...

  • jibran committed a65c821 on 8.x-1.x
    Issue #2881996 by jibran, dpi: Select at least one entity type ID on...
jibran’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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