This module works fine for nodes, but if you create a content entity with drupal console, the limit get not triggered. You can select the entity in the entity limit configuration, but you always can create unlimited records.

CommentFileSizeAuthor
#5 custom-entities-2940498.patch1.75 KBwasare

Comments

xvendo created an issue. See original summary.

the_glitch’s picture

+1

wasare’s picture

Status: Needs work » Postponed (maintainer needs more info)

Could you provide some basic steps to reproduce this trouble?

wasare’s picture

Status: Postponed (maintainer needs more info) » Needs work

I'm facing a simliar problem. In my case the error message is

Drupal\Core\Entity\Query\QueryException: 'uid' not found on function Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (linha 369 do arquivo /var/www/html/web/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).

I realize the custom entities generate by the drupal console create an user_id field instead of an uid field.

wasare’s picture

StatusFileSize
new1.75 KB
wasare’s picture

Status: Needs work » Fixed

  • wasare committed b83602e on 8.x-2.x
    Issue #2940498 by wasare: Does not work for custom entities created with...
wasare’s picture

Status: Fixed » Closed (fixed)

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

pearls’s picture

Version: 8.x-2.0-alpha1 » 3.0.0-beta1
Priority: Normal » Major

Could you also support custom entity types other than node type? It only works with node types.