if (superSitemap == null) {
result.put(JsonResponse.superSitemap.name(), "");
result.put(JsonResponse.sitemap.name(), siteEntries);
} else {
result.put(JsonResponse.superSitemap.name(), cms.getSitePath(superSitemap.getFile()));
<BUG>CmsSitemapEntry parentEntry = OpenCms.getSitemapManager().getEntryForUri(cms, sitemap.getEntryPoint());
JSONObject jsonParentEntry = jsonifyEntry(new CmsSitemapEntry(</BUG>
parentEntry.getId(),
parentEntry.getOriginalUri(),
parentEntry.getResourceId(),

if (superSitemap == null) {
result.put(JsonResponse.superSitemap.name(), "");
result.put(JsonResponse.sitemap.name(), siteEntries);
} else {
result.put(JsonResponse.superSitemap.name(), cms.getSitePath(superSitemap.getFile()));
CmsSitemapEntry parentEntry = OpenCms.getSitemapManager().getEntryForUri(
cms,
cms.getRequestContext().removeSiteRoot(sitemap.getEntryPoint()));
Map<String, String> properties = new HashMap<String, String>(parentEntry.getInheritedProperties());
properties.remove(CmsSitemapManager.Property.sitemap.getName());
JSONObject jsonParentEntry = jsonifyEntry(new CmsSitemapEntry(
parentEntry.getId(),
parentEntry.getOriginalUri(),
parentEntry.getResourceId(),
