- Issue created by @acorda
- š®š¹Italy acorda
I've run an analysis with upgrade_status of the plugin.
CONTRIBUTED PROJECTS -------------------------------------------------------------------------------- Commerce Ticketing 1.0.2 Scanned on Sat, 08/19/2023 - 13:05. 3 errors found. 8 warnings found. Avoid some manual work by using drupal-rector for fixing issues automatically or Upgrade Rector to generate patches. web/modules/contrib/commerce_ticketing/modules/commerce_ticketing_pdf/src/Contro ller/PDFController.php: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Fix with ā 34 ā Call to deprecated function drupal_get_path(). Deprecated in ā ā rector ā ā drupal:9.3.0 and is removed from drupal:10.0.0. Use ā ā ā ā Drupal\Core\Extension\ExtensionPathResolver::getPath() ā ā ā ā instead. ā ā ā ā ā ā Fix with ā 54 ā Call to deprecated function drupal_get_path(). Deprecated in ā ā rector ā ā drupal:9.3.0 and is removed from drupal:10.0.0. Use ā ā ā ā Drupal\Core\Extension\ExtensionPathResolver::getPath() ā ā ā ā instead. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/src/CommerceTicketListBuilder.php: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 93 ā Relying on entity queries to check access by default is ā ā manually ā ā deprecated in drupal:9.2.0 and an error will be thrown from ā ā ā ā drupal:10.0.0. Call ā ā ā ā \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with ā ā ā ā TRUE or FALSE to specify whether access should be checked. ā ā ā ā ā ā Check ā 107 ā Relying on entity queries to check access by default is ā ā manually ā ā deprecated in drupal:9.2.0 and an error will be thrown from ā ā ā ā drupal:10.0.0. Call ā ā ā ā \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with ā ā ā ā TRUE or FALSE to specify whether access should be checked. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/src/Event/TicketEvent.php: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 13 ā Class Drupal\commerce_ticketing\Event\TicketEvent extends ā ā manually ā ā deprecated class Symfony\Component\EventDispatcher\Event: ā ā ā ā since Symfony 4.3, use ā ā ā ā "Symfony\Contracts\EventDispatcher\Event" instead ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/src/EventSubscriber/OrderEventSubscriber. php: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 219 ā Relying on entity queries to check access by default is ā ā manually ā ā deprecated in drupal:9.2.0 and an error will be thrown from ā ā ā ā drupal:10.0.0. Call ā ā ā ā \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with ā ā ā ā TRUE or FALSE to specify whether access should be checked. ā ā ā ā ā ā Check ā 297 ā Relying on entity queries to check access by default is ā ā manually ā ā deprecated in drupal:9.2.0 and an error will be thrown from ā ā ā ā drupal:10.0.0. Call ā ā ā ā \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with ā ā ā ā TRUE or FALSE to specify whether access should be checked. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/src/Form/CommerceTicketForm.php: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Fix with ā 76 ā Call to deprecated function render(). Deprecated in ā ā rector ā ā drupal:9.3.0 and is removed from drupal:10.0.0. Use ā ā ā ā Drupal\Core\Render\RendererInterface::render() instead. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/commerce_ticketing.info.yml: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 0 ā Value of core_version_requirement: ^8 || ^9 is not ā ā manually ā ā compatible with the next major version of Drupal core. See ā ā ā ā https://drupal.org/node/3070687. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/modules/commerce_ticketing_pdf/commerce_t icketing_pdf.info.yml: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 0 ā Value of core_version_requirement: ^8 || ^9 is not ā ā manually ā ā compatible with the next major version of Drupal core. See ā ā ā ā https://drupal.org/node/3070687. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā web/modules/contrib/commerce_ticketing/composer.json: āāāāāāāāāāāā¬āāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā STATUS ā LINE ā MESSAGE ā āāāāāāāāāāāā¼āāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤ ā Check ā 0 ā The drupal/core requirement is not compatible with the next ā ā manually ā ā major version of Drupal. Either remove it or update it to be ā ā ā ā compatible. See ā ā ā ā https://drupal.org/node/2514612#s-drupal-9-compatibility. ā ā ā ā ā āāāāāāāāāāāā“āāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
- First commit to issue fork.
- last update
about 1 year ago 18 pass - First commit to issue fork.
- last update
about 1 year ago 18 pass - last update
about 1 year ago 18 pass - Status changed to Needs review
about 1 year ago 5:26pm 15 September 2023 - last update
about 1 year ago 18 pass - last update
about 1 year ago 18 pass - Status changed to RTBC
about 1 year ago 12:52pm 9 October 2023 - š®š³India arisen Goa
Reviewed the MR.
Tested the module composer setup through the issue fork on a Drupal 10 installation(10.1.5) and tested the basic functionality. Works fine without any issues.Did the following steps for testing:
- Setup a Drupal 10 site through composer.
- Installed the module using the issue fork by setting the composer repositories.
{ "type":"vcs", "url":"https://git.drupalcode.org/issue/commerce_ticketing-3382034.git" }
- composer require "drupal/commerce_ticketing:dev-3382034-drupal-10-upgrade"
- The module gets installed successfully.
- Enabled the module and the related Drupal commerce modules. The module gets enabled without any errors.
- Did the module configurations as per the documentation. Setup the ticket type, product type and product variation using the ticket type. Enabled ticket for order type.
- Completed the checkout process for ticket type product. The ticket gets generated properly.
- šŖšøSpain aleix
@arisen , be care that you don't require the module this way in production drupal, as it is not safe for your site.
- š®š³India arisen Goa
Sure @aleix. Just followed this process for testing purpose so i could install the module from the MR using composer instead of using git.
Any suggestion on the safer method to test it? :) - šŖšøSpain aleix
@arisen For test is ok. But for production, as the MR issue repository is public, someone or something could add unwanted code directly to your site when updating with composer.
For production use, better wait for a project release, or if you cannot wait, fork the MR repo branch to your own protected git repo and require from there. - š¦šŗAustralia interlated
Can confirm that the access check results in an exception
- š§šŖBelgium Mav_fly
Where can we find this modules for D10 ?
Because it sounds like an interesting module to use in some projects. - š©šŖGermany alex0412
Are there any plans on this topic? A short statement from the maintainers would be highly appreciated :) Thank you!
- šŖšøSpain aleix
Related on this the entity_print has issues with drupal 10.1 : https://www.drupal.org/project/entity_print/issues/3383187 š Unexpected error with print engine PhpWkhtmlToPdf or DomPdf: Session has not been set Needs review so whenever maintainers release this module, I think it will need to bump the version of Entity Print to latest version with this patch merged.
(I could add as new issue but it's not clear to which version the issue must be attached to) -
pcambra ā
committed 8f45c3ce on 2.x authored by
validoll ā
Issue #3382034: Drupal 10 upgrade
-
pcambra ā
committed 8f45c3ce on 2.x authored by
validoll ā
- Status changed to Fixed
8 months ago 4:16pm 12 March 2024 - šŖšøSpain pcambra Asturies
Thanks for the MR and all the feedback, Unfortunately I don't have the funding anymore to work on this module but I can commit to review patches and merge anything RTBC.
- šŖšøSpain aleix
Gracias pedro, Do you think you could review proposed patches or just the ones RTBC? I have it working on production so maybe I could help with main features (in fact I proposed these by now). Namely:
- Theming capabilities.
- Symfony mailer support.
- Fix the sending in some contexts.As you said somewhere maybe a new release could help. That said maybe someone in this issue could join the efforts to keep this module with a clear future (or claim for help in main commerce module...)
BTW @pcambra i am also aleix in drupal.cat tg group if you want to talk about it.
- šŖšøSpain pcambra Asturies
I'd be happy to, but as I mentioned, I don't have any allocation for this :(
So if the tests pass and someone else's has looked at it to set it RTBC, I can definitely volunteer my time. Automatically closed - issue fixed for 2 weeks with no activity.