Open
Description
i tried to run this query:
UPDATE [nt:unstructured] AS a INNER JOIN [nt:unstructured] AS t ON ISCHILDNODE(t, a)
SET expr('row.getNode("t").setProperty("originalLinkCaption", row.getNode("a").getPropertyValue("originalLinkCaption"))')
WHERE a.[phpcr:class] = 'Liipch\MagazineBundle\Document\Article' ;
but during the autosave i get the exception
[PHPCR\ValueFormatException] Invalid value for property ")": Object values must implement PHPCR\NodeInterface, PHPCR\PropertyInterface or be \DateTime, supplied argument is of class: PHPCR\Shell\Query\ColumnOperand
as SET EXPR does not exist, this should report an error instead of trying to do strange things. there is probably a problem with the query parser.
Metadata
Metadata
Assignees
Labels
No labels