Process callback deselects any selection checkboxes that might be active at rebuild (after validation fail, after filters submit, ...). It is sometimes not called due to the slightly wrong condition.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slashrsm created an issue. See original summary.

slashrsm’s picture

Status: Active » Needs review
FileSize
1.46 KB
2.78 KB

The last submitted patch, 2: 2932081_2_TEST_ONLY.patch, failed testing. View results

marcoscano’s picture

Status: Needs review » Reviewed & tested by the community

Works for me as expected, marking as RTBC

Primsi’s picture

+++ b/src/Plugin/EntityBrowser/Widget/View.php
@@ -136,7 +136,7 @@ class View extends WidgetBase implements ContainerFactoryPluginInterface {
     // When rebuilding makes no sense to keep checkboxes that were previously
     // selected.

Should then this comment be moved too?

samuel.mortenson’s picture

Issue tags: +Nashville2018, +D8Media
marcoscano’s picture

FileSize
2.8 KB
729 bytes

No real change here, only removed the comment mentioned in #5 and triggering the tests again for both branches.

mpp’s picture

Successfully tested the patch in #7. RTBC so can be committed.

  • slashrsm committed 553d31f on 8.x-2.x
    Issue #2932081 by slashrsm, marcoscano, Primsi: \Drupal\entity_browser\...
slashrsm’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks!

  • slashrsm committed 103dbc1 on 8.x-1.x
    Issue #2932081 by slashrsm, marcoscano, Primsi: \Drupal\entity_browser\...

Status: Fixed » Closed (fixed)

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