Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit fa461c07 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Fix sub-resource parsing

parent 7db6cff3
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ public class ResourceResolverService { ...@@ -134,7 +134,7 @@ public class ResourceResolverService {
// test if subresourceDef exists // test if subresourceDef exists
DBSubresourceDef subresourceDef = getSubresource(resourceDef, subResourceDefUrl); DBSubresourceDef subresourceDef = getSubresource(resourceDef, subResourceDefUrl);
Identifier subResourceId = identifierService.normalizeParticipantIdentifier(pathParameters.get(++iParameterIndex)); Identifier subResourceId = identifierService.normalizeDocumentIdentifier(pathParameters.get(++iParameterIndex));
DBSubresource subresource = resolveSubResourceIdentifier(resource, subResourceDefUrl, subResourceId); DBSubresource subresource = resolveSubResourceIdentifier(resource, subResourceDefUrl, subResourceId);
LOG.debug("Got subresource [{}]", subresource); LOG.debug("Got subresource [{}]", subresource);
if (subresource == null) { if (subresource == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment