We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folders are added with a trailing slash to the list, so they aren't recognized as an existing resource.
getNewFileName should do to build the list something like the following:
for (CmsResource res : resources) { fileNames.add(cms.getSitePath(res).replaceFirst("/$", "")); }
which removes the trailing slash.
The text was updated successfully, but these errors were encountered:
Fixed in release 9.5.3.
Sorry, something went wrong.
Fixed name generation for new files (github issue #357).
8898043
No branches or pull requests
Folders are added with a trailing slash to the list, so they aren't recognized as an existing resource.
getNewFileName should do to build the list something like the following:
for (CmsResource res : resources) {
fileNames.add(cms.getSitePath(res).replaceFirst("/$", ""));
}
which removes the trailing slash.
The text was updated successfully, but these errors were encountered: