See https://www.drupal.org/node/2569897#comment-10364411

1. Configure a content type with a required autcomplete entity field and a file upload
2. Select file(s) and click upload

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcingy created an issue. See original summary.

marcingy’s picture

Status: Active » Needs review
marcingy’s picture

The last submitted patch, 3: test-only.patch, failed testing.

The last submitted patch, 3: test-only.patch, failed testing.

slashrsm’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me and it fixes the bug.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed f8e139c and pushed to 8.0.x. Thanks!

diff --git a/core/modules/entity_reference/src/Tests/EntityReferenceFileUploadTest.php b/core/modules/entity_reference/src/Tests/EntityReferenceFileUploadTest.php
index 37c5bf2..0368bf0 100644
--- a/core/modules/entity_reference/src/Tests/EntityReferenceFileUploadTest.php
+++ b/core/modules/entity_reference/src/Tests/EntityReferenceFileUploadTest.php
@@ -36,7 +36,7 @@ class EntityReferenceFileUploadTest extends WebTestBase {
   /**
    * Node id.
    *
-   * @var interger
+   * @var integer
    */
   protected $nodeId;
 

Fixed on commit.

  • alexpott committed f8e139c on 8.0.x
    Issue #2574095 by marcingy: File upload and entity autocomplete results...

Status: Fixed » Closed (fixed)

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