Account created on 25 March 2017, over 7 years ago
#

Recent comments

Is this nice module still maintained?
Could you make it compatible with Drupal 10 and 11?

I don't see how this module can be used without ECA.
Am I missing something? Is there a way for the user to gain or lose points?

After the initial error, if you go to /user/1 you get this one:

The website encountered an unexpected error. Try again later.

TypeError: Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter::__construct(): Argument #7 ($third_party_settings) must be of type array, null given, called in /var/lib/tugboat/stm/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php on line 112 in Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter->__construct() (line 91 of core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php).

Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceEntityFormatter::create(Object, Array, 'entity_reference_entity_view', Array) (Line: 64)
Drupal\Core\Field\FormatterPluginManager->createInstance('entity_reference_entity_view', Array) (Line: 126)
Drupal\Core\Field\FormatterPluginManager->getInstance(Array) (Line: 210)
Drupal\Core\Entity\Entity\EntityViewDisplay->getRenderer('field_point') (Line: 241)
Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array) (Line: 339)
Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 281)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725 ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 859)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

It can be reproduced any time on SimplyTest.me
with the latest version of Points.
After the installation just go to /admin/config/people/accounts/fields and try to add a reference field to Point

I have reproduced it again on a clean new site.

Create a new point type.
In the points list add some positive and negative points.
Go to /admin/config/people/accounts/fields/add-field and create an entity reference field to that new point.
Error

I have reproduced it again.

1. Install and enable Points
2. Go to /admin/config/people/accounts/fields/add-field and try to add an entity reference field.
Enter the new field name, select the type reference, choose Other and click Continue.
The error occurs.

3. Go to /admin/modules and see the error there as well
4. Uninstall Points and the error no longer occurs

I have Multilingual enabled, not sure it's related to this.

I would be great to have the option to specify the number of days

I think this should be done using 🌱 [Meta, Plan] Pitch-Burgh: Policy based access in core Active .
The description of the Flexible permissions module mentions twice this case, permissions for Commerce stores

On the entity to which you add a specific paragraph (not in admin/structure/paragraphs_type)
Let's say on the node type Article you add a paragraph called Information

There are 2 tabs: Edit and Field settings
in Field settings

Type of item to reference:
Content

Allowed number of values:
Limited/Unlimited
You can add Limited: 3

Relying on other modules (who might not always work as expected) to achieve basic functionality doesn't seem like a good idea.
In my opinion this should be built-in.

The Paragraphs module has a limit for how many paragraphs a user is allowed to add to a node.

Let's say any registered users are allowed to create Storage Entities for a node. Any spammer can create thousands of these until the break the site.

If there is no limit, the use of storage entities should be restricted to trusted user only and this limits the usefulness of this module.

No custom code.
The list of modules that are enabled:

Commerce
Commerce Cart
Commerce Checkout
Commerce Log
Commerce Number Pattern
Commerce Order
Commerce Payment
Commerce Payment Example
Commerce Price
Commerce Product
Commerce Promotion
Commerce Store
Commerce Tax

Commerce (contrib)

Commerce Email
Commerce License

Hi @tomtech!
I don't have any custom code.

In rc5, from the dashboard:

Checkout flow
Exception during analysis.

Error: The "billing_information" plugin does not exist. Valid plugin IDs for Drupal\commerce_checkout\CheckoutPaneManager are: contact_information, completion_message, login, order_summary, completion_register, review, payment_process, payment_information, coupon_redemption

Trace: #0 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25): Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, 'billing_informa...', true) #1 /var/www/html/web/modules/contrib/commerce/modules/checkout/src/CheckoutPaneManager.php(52): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('billing_informa...') #2 /var/www/html/web/modules/contrib/commerce_license/src/Form/LicenseDashboardForm.php(139): Drupal\commerce_checkout\CheckoutPaneManager->createInstance('billing_informa...', Array, Object(Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\MultistepDefault)) #3 /var/www/html/web/modules/contrib/commerce_license/src/Form/LicenseDashboardForm.php(107): Drupal\commerce_license\Form\LicenseDashboardForm->analyzeCheckoutFlows() #4 [internal function]: Drupal\commerce_license\Form\LicenseDashboardForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #5 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array(Array, Array) #6 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(283): Drupal\Core\Form\FormBuilder->retrieveForm('commerce_licens...', Object(Drupal\Core\Form\FormState)) #7 /var/www/html/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\commerce_license\Form\LicenseDashboardForm), Object(Drupal\Core\Form\FormState)) #8 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #9 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #10 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #11 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #12 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #13 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #14 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #15 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(686): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #24 {main}

Yes, it is 3.0.0-rc2

[error] 1898#1898: *80 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "billing_information" plugin does not exist. Valid plugin IDs for Drupal\commerce_checkout\CheckoutPaneManager are: contact_information, completion_message, login, order_summary, completion_register, review, payment_process, payment_information, coupon_redemption" at /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53" while reading response header from upstream, client: 172.18.0.6, server: , request: "GET /admin/commerce/config/licenses/dashboard HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "my.ddev.site", referrer: "http://my.ddev.site/admin/commerce/config"

It would be very useful to have a permission for the entity author.

Production build 0.69.0 2024