Developer Jahia 8

The j:fullpath property is deprecated

Question

There is a problem with j:fullpath in the "live" workspace, which often also becomes inconsistent.

Cause

The property j:fullpath is deprecated and will be removed from Jahia in a future version.

 

Solution

If your code leverages this property, you should rewrite it.

If you were using this property to sort your result in a SQL2 query, it will not be possible anymore. You should use another property of the node like j:nodename for example to sort your data.

If you abstolutely need to sort by the path, you will have to sort the data after the getting of the result of the query.

But this property should not be used anymore, if there is feature using the j:fullpath they should be updated to use another property to distinguish the nodes.