Created on 5 June 2024, 5 months ago
Updated 20 June 2024, 5 months ago

There is a typo in the core_version_requirement of the info.yml which breaks usage of this module.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jackfoust

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @jackfoust
  • First commit to issue fork.
  • Merge request !6Fix typo β†’ (Merged) created by mortona2k
  • Status changed to Needs review 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    Fixed the typo.

  • πŸ‡΅πŸ‡­Philippines clarkssquared

    Hi

    I applied the MR !6 and I confirmed that it fixes the typo issue of the module's info.yml file.

    RTBC +1 from me

  • Status changed to RTBC 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle
  • πŸ‡ΊπŸ‡ΈUnited States pixelwhip

    While this patch will fix the issue, applying the patch locally won't actually fix the problem if a site has the core update module enabled. The version is checked remotely when update refreshes available updates so this issue has the potential to white screen any site with this and the update module enabled without any updates to the

    Full error message

    The website encountered an unexpected error. Try again later.
    
    UnexpectedValueException: Could not parse version constraint ^: Invalid version string "^" in Composer\Semver\VersionParser->parseConstraint() (line 521 of /code/vendor/composer/semver/src/VersionParser.php).
    Composer\Semver\VersionParser->parseConstraints('^10 || ^ 11') (Line: 40)
    Composer\Semver\Semver::satisfies('10.2.5', '^10 || ^ 11') (Line: 161)
    Drupal\update\ProjectCoreCompatibility->isCoreCompatible('^10 || ^ 11') (Line: 144)
    Drupal\update\ProjectCoreCompatibility->setReleaseMessage(Array) (Line: 124)
    update_calculate_project_data(Array) (Line: 40)
    update_requirements('runtime') (Line: 91)
    update_page_top(Array) (Line: 352)
    Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}(Object, 'update') (Line: 388)
    Drupal\Core\Extension\ModuleHandler->invokeAllWith('page_top', Object) (Line: 67)
    Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAllWith('page_top', Object) (Line: 353)
    Drupal\Core\Render\MainContent\HtmlRenderer->buildPageTopAndBottom(Array) (Line: 146)
    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: 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: 38)
    Drupal\mercury_editor\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)
    
  • Status changed to Fixed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States pixelwhip
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024