Hide
original bugid: #6784
<mm:node number="20845445">
<mm:related path="magazines" fields="magazines.title">
<mm:field name="nonexistingfunction(magazines.title)" />
</mm:related>
</mm:node>
results in exeption:
java.lang.IllegalArgumentException: You cannot use non-existing field of 'title)' of node '14056174' existing fields of 'magazines are [_exists, title, owner, _number, intro, body, subtitle, otype, number
It perhaps should have reported that the function does not exist, or perhaps simply return the value of magazines.title.
The problem is that it forgets to remove the trailing brace if the function is unknown.
Show
original bugid: #6784
<mm:node number="20845445">
<mm:related path="magazines" fields="magazines.title">
<mm:field name="nonexistingfunction(magazines.title)" />
</mm:related>
</mm:node>
results in exeption:
java.lang.IllegalArgumentException: You cannot use non-existing field of 'title)' of node '14056174' existing fields of 'magazines are [_exists, title, owner, _number, intro, body, subtitle, otype, number
It perhaps should have reported that the function does not exist, or perhaps simply return the value of magazines.title.
The problem is that it forgets to remove the trailing brace if the function is unknown.