featdd / dpn_glossary

Glossary extension for TYPO3
http://typo3.org/extensions/repository/view/dpn_glossary
GNU General Public License v2.0
20 stars 29 forks source link

Problems with getting speaking URLs #160

Closed martinschoene closed 3 years ago

martinschoene commented 3 years ago

hi, after adding these lines to my siteconfig:

PageTypeSuffix:   
    type: PageType
    default: /
    index: ''
    map:
      /: 0

i am getting the following error:

Oops, an error occurred! Code: 202012151248435f9e6a74 - {"exception":"Symfony\\Component\\Routing\\Exception\\InvalidParameterException: Parameter \"t3be3391e96edf93e3ad4c195a24a51\" for route \"tx_dpnglossary_glossary_0\" must match \".+\" (\"\" given) to generate a corresponding URL......

before adding the PageTypeSuffix, it works perfectly

TYPO3 10.4.10 dpn_glossary 3.1.6

greetings martin

featdd commented 3 years ago

Hi @martinschoene,

could you try this:

PageTypes:
  type: PageType
  default: /
  index: ''
  map:
    /: 0

Greetings Daniel

martinschoene commented 3 years ago

hi @featdd,

i got the same error, when i replace my settings with yours.

greetings martin

featdd commented 3 years ago

Hi @martinschoene,

do you still have this issue?

I'm having issues to reproduce your error, there has also been a general issue with trailing slashes in routing. I know it's not a proper solution but its okay to switch to urls without trailing slashes.

Greetings Daniel

martinschoene commented 3 years ago

Hi,

yes we had this issues with trailing slashes and because of our customer we are forced to use trailing slashes. So we decided not to use dpn_glossary.

greetings Martin

On Sat, Apr 17, 2021 at 5:48 PM Daniel Dorndorf @.***> wrote:

Hi @martinschoene https://github.com/martinschoene,

do you still have this issue?

I'm having issues to reproduce your error, there has also been a general issue with trailing slashes in routing. I know it's not a proper solution but its okay to switch to urls without trailing slashes.

Greetings Daniel

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/featdd/dpn_glossary/issues/160#issuecomment-821843566, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZ2K3UQ7MJ65VKZ2QTWV3DTJGUWDANCNFSM4U4I75HQ .

featdd commented 3 years ago

Hi @martinschoene,

sorry I couldn't help, I think the issue does not really depend on this extension. As I'm unable to reproduce this I would close the issue for now.

If you have other problems or questions feel free to open a new issue.

Greetings Daniel