• Bert Leunis's avatar
    HSTTWO-4238 use channel root path as default for the picker root path · e7325bfd
    Bert Leunis authored
    If the tag attribute rootPath is not available and the @JcrPath annotation of the component parameter is not given, use the channel root path as fallback/default for the picker root path. This prevents that the picker dialog allows the user to pick documents from outside the channel's content folder.
    
    In case this IS actuallly wanted, then the rootPath attribute could be configured with something like '/content/documents' to allow for this.
    
    Due to the fact that now in many more cases the pickerRootPath by default is provided, a number of unit tests had to be extended to cover this.
    e7325bfd
Name
Last commit
Last update
api Loading commit data...
client Loading commit data...
client-modules Loading commit data...
cms-restapi Loading commit data...
commons Loading commit data...
components Loading commit data...
content-beans Loading commit data...
dependencies Loading commit data...
integration Loading commit data...
mock Loading commit data...
sandbox Loading commit data...
solr-client Loading commit data...
solr-content-beans Loading commit data...
test Loading commit data...
toolkit-resources Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...