flow-development-collection icon indicating copy to clipboard operation
flow-development-collection copied to clipboard

FizzleParser has a problem with "numbers" only nodepaths

Open gerdemann opened this issue 8 years ago • 4 comments

Description

If I run in TypoScript a find('/sites/shop/products-abc-de/07400/074008468') I get the following error:

The Selector "/sites/shop/products-abc-de/07400/074008468" could not be parsed. Error at character 28

Steps to Reproduce

  1. Create a Node with "numbers" only path
  2. Search in TypoScript with e.g. find('/sites/shop/products-abc-de/07400/074008468')

Expected behavior

I expect a valid result.

Actual behavior

I get the following error:

The Selector "/sites/shop/products-abc-de/07400/074008468" could not be parsed. Error at character 28

Affected Versions

Neos: 2.3.7 Flow: 3.3.4

gerdemann avatar Oct 22 '16 16:10 gerdemann

This is very much related to (and could be fixed by) https://github.com/neos/neos-development-collection/pull/1477

kitsunet avatar Jun 29 '17 21:06 kitsunet

Wait, this issue is a bug and should be fixed in existing versions. Might be fixed by neos/neos-development-collection#1477, but not necessarily.

aertmann avatar Jun 30 '17 02:06 aertmann

This is still an issue and was not fixed.

The Selector "/sites/shop/products-abc-de/0740e0/f074e008468" could not be parsed. Error at character 28.

mhsdesign avatar Jul 19 '22 14:07 mhsdesign

this seems to be a flow issue - (the parser for the filter lies there) https://github.com/neos/flow-development-collection/blob/25f0b6abba5d45e1376fdfa05c5b7589e2bc3a54/Neos.Eel/Resources/Private/Grammar/Fizzle.peg.inc#L121

mhsdesign avatar Jul 19 '22 19:07 mhsdesign