Project

General

Profile

Actions

Bug #92367

open

Hash not resolvable

Added by Benjamin Bomberg about 4 years ago. Updated 20 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-09-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I got the following Error:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1537633463: Hash not resolvable | OutOfRangeException thrown in file /homepages/21/d329096653/htdocs/Typo3_Source/typo3_src-9.5.20/typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php in line 72. Requested URL: https://example.de/job/example-slug?cookie_b59fe1ff373a1a2a37a17dd1a212a419=accepted

My Site Configuration for this Action:

routeEnhancers:
  Jobboerse:
    type: Extbase
    limitToPages:
      - 1
    extension: Jobboerse
    plugin: displayjobs
    defaultController: 'Jobs::list'
    routes:
      -
        _controller: 'Jobs::show'
        routePath: '/job/{jobs_title}'
        _arguments:
          jobs_title: jobs
      -
        _controller: 'Jobs::application'
        routePath: '/{localized_profile}/{jobs_title}'
        _arguments:
          jobs_title: jobs
    aspects:
      jobs_title:
        type: PersistedAliasMapper
        tableName: tx_jobboerse_domain_model_jobs
        routeFieldName: path_segment

My Question is, is this a bug or can I do something to get the urls map with hash? Sometimes people use this cookie-hash for these URIs!

Actions #1

Updated by Benjamin Bomberg about 4 years ago

  • PHP Version changed from 7.2 to 7.3
Actions #2

Updated by Benjamin Bomberg about 4 years ago

Sorry ignores the above!

I got the following Error:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1537633463: Hash not resolvable | OutOfRangeException thrown in file /homepages/21/d329096653/htdocs/Typo3_Source/typo3_src-9.5.20/typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php in line 72. Requested URL: https://example.de/job/example-slug?cookie_b59fe1ff373a1a2a37a17dd1a212a419=accepted

My Site Configuration for this Action:

routeEnhancers:
 Jobboerse:
  type: Extbase
  limitToPages:
  - 1
 extension: Jobboerse
 plugin: displayjobs
 defaultController: 'Jobs::list'
 routes:
  -
   _controller: 'Jobs::show'
   routePath: '/job/{jobs_title}'
   _arguments:
   jobs_title: jobs
  -
   _controller: 'Jobs::application'
   routePath: '/application/{jobs_title}'
   _arguments:
   jobs_title: jobs
  aspects:
   jobs_title:
   type: PersistedAliasMapper
   tableName: tx_jobboerse_domain_model_jobs
   routeFieldName: path_segment

My Question is, is this a bug or can I do something to get the urls map with hash? Sometimes people use this cookie-hash for these URIs!

Actions #3

Updated by Simon Schaufelberger over 2 years ago

  • Description updated (diff)
Actions #4

Updated by Simon Schaufelberger over 2 years ago

  • Status changed from New to Needs Feedback

Benjamin, did you find a solution and can this be closed? TYPO3 9 is not supported anymore and maybe this has already been fixed in TYPO3 10 or newer.

Actions #5

Updated by Christoph Runkel about 2 years ago

I still have this problem in Typo3 11.5.17 - if a single view on a no longer existent item uid is clicked i still get a 503 error "Hash not resolvable". No matter which extension i use ... Here tt_products. In my opinion an error configuration for a route enhancer would solve this problem (errorPID) ...

Ttproducts:
type: Plugin
routePath: '/{product}'
namespace: tt_products
requirements:
product: '[a-zA-Z0-9].*'
aspects:
product:
type: PersistedAliasMapper
tableName: tt_products
backPID: '993'
routeFieldName: slug
txCsseoXdefault: 0
websiteTitle: ''
Actions #6

Updated by Christian Hackl 4 months ago ยท Edited

  • TYPO3 Version changed from 9 to 12
  • PHP Version changed from 7.3 to 8.3

If the extension-key/-name plus plugin-name is longer than 31 chars e.g. "tx_hhextcookieconsent_cookieconsent", then the same error appears in "TYPO3\CMS\Core\Routing\Enhancer\VariableProcessor->resolveHash(string $hash)"...

Actions #7

Updated by Riccardo De Contardi 20 days ago

  • Status changed from Needs Feedback to New
Actions

Also available in: Atom PDF