Re: jcr auto retrieve value by name doesn't work

2022-08-18 Thread Julian Reschke

Am 15.08.2022 um 17:58 schrieb Allen Liu:

Hi Jcr team,
I am facing an issue with retrieving value from jcr. It seems like the name
of a component can't contain a number
For example




If the name is ./jcr:content/metadata/1/dc:description as shown above,
the value saved can't be retrieved automatically and it's showing as
an empty field on the UI.

However if I change the name to
./jcr:content/metadata/a/dc:description, the textfield can retrieve
the value without issue.

Is this a known issue? Thanks!


Allen


It seems this is a Sling question, not a Jackrabbit question. What UI
are you referring to?

Best regards, Julian



jcr auto retrieve value by name doesn't work

2022-08-18 Thread Allen Liu
Hi Jcr team,
I am facing an issue with retrieving value from jcr. It seems like the name
of a component can't contain a number
For example


   

If the name is ./jcr:content/metadata/1/dc:description as shown above,
the value saved can't be retrieved automatically and it's showing as
an empty field on the UI.

However if I change the name to
./jcr:content/metadata/a/dc:description, the textfield can retrieve
the value without issue.

Is this a known issue? Thanks!


Allen