Skip to content
Snippets Groups Projects
Commit c2239cfe authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Fixed issue with list-of-files custom type

parent bc3ad7b9
No related branches found
No related tags found
No related merge requests found
Pipeline #965 passed
......@@ -71,6 +71,15 @@ public class FileDAO {
private void fillOsPath(FileInfo fi, ResultSet rs) throws SQLException {
if (fi.getProvideViews() != null) {
for (String provideView : fi.getProvideViews()) {
if ("urn:list-of-files".equals(provideView)) {
// Not a physical file
return;
}
}
}
String basePath = rs.getString("base_path");
String osPath = rs.getString("os_path");
if (osPath.startsWith("/")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment