Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public CmsResource getResource(CmsObject cms, CmsListItem item) {
} catch (CmsException e) {
// should never happen
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-283d6ecb8f30cf4bc01ca17e4807eeec");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ private Map<CmsUUID, CmsSitemapAttributeEditorConfiguration> loadAttributeEditor
result.put(res.getStructureId(), config);
}
} catch (Exception e) {
LOG.error(e.getMessage(), e);
LOG.error("Unexpected error: mobb-b16a18b30264dbec64b13d6254dcc09b", e);
}
}
} catch (CmsException e) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ade/galleries/CmsGalleryService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ public void saveResultViewType(String resultViewType) {
try {
getCmsObject().writeUser(user);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-527372fc9ca7b0b3d83a628d7d2dbc76");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/cmis/CmsCmisTypeManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ private synchronized void refresh() {
setup();
}
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-2c7ee9b78b7596276fe36fef3a348eb4", e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/flex/CmsFlexCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public void cmsEvent(org.opencms.main.CmsEvent event) {
m_cmsObject,
CONFIG_PATH);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-c684ce8014b5b4bd17a414859bc6d37d", e);
}
// Make sure no entries built for the old configuration remain in the cache
clear();
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/CmsExport.java
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ protected void exportGroups(Element parent, CmsOrganizationalUnit orgunit)
throw e;
} catch (CmsException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(e.getLocalizedMessage(), e);
LOG.debug("Unexpected error: mobb-282ea4993ef23f2766d3173850b1617b", e);
}
throw new CmsImportExportException(e.getMessageContainer(), e);
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/loader/CmsImageScaler.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public CmsImageScaler(CmsObject cms, CmsResource res) {
sizeValue = sizeProp.getValue();
}
} catch (Exception e) {
LOG.debug(e.getMessage(), e);
LOG.debug("Unexpected error: mobb-88ec4c19cd20494712bdc73fb125abac", e);
}
try {
m_focalPoint = CmsPreviewService.readFocalPoint(cms, res);
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/pdftools/CmsPdfUserAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private byte[] readImage(String uriWithParams) {
}
return result;
} catch (Exception e) {
LOG.error("Problem with reading image " + uriWithParams + ": " + e.getLocalizedMessage(), e);
LOG.error("Problem with reading image " + uriWithParams + ": " + e.getLocalizedMessage(), "Unexpected error: mobb-262e231db78beaf85e334c4a90a55776");
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/publish/CmsPublishThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void run() {
// catch every thing including runtime exceptions
dbc.rollback();
m_report.println(e);
LOG.error(Messages.get().getBundle().key(Messages.LOG_PUBLISH_PROJECT_FAILED_0), e);
LOG.error(Messages.get().getBundle().key(Messages.LOG_PUBLISH_PROJECT_FAILED_0), "Unexpected error: mobb-94dad79bdb58a166ade3daa43beae19a");
} finally {
dbc.clear();
dbc = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ private SpellCheckResponse performSpellcheckQuery(CmsSpellcheckingRequest reques
QueryResponse qres = m_solrClient.query(query);
return qres.getSpellCheckResponse();
} catch (Exception e) {
LOG.debug("Exception while performing spellcheck query...", e);
LOG.debug("Exception while performing spellcheck query...", "Unexpected error: mobb-05edfe873d79a9a038100fc0aeb1bfba");
}

return null;
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/staticexport/CmsStaticExportManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ public boolean isSecureLink(CmsObject cms, String vfsName, boolean fromSecure) {
adminCms.getRequestContext().setRequestTime(cms.getRequestContext().getRequestTime());
cmsForReadingProperties = adminCms;
} catch (Exception e) {
LOG.error("Could not initialize CmsObject in isSecureLink:" + e.getLocalizedMessage(), e);
LOG.error("Could not initialize CmsObject in isSecureLink:" + "Unexpected error: mobb-c893c881ac064f30c5a8d912816ef714", e);
}
try {
secureResource = cmsForReadingProperties.readPropertyObject(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private CmsResource getPrefillTemplate(CmsObject cms, CmsResource resource) {
prefillTemplateStr = resolver.resolveMacros(prefillTemplateStr).replace("//", "/");
return cms.readResource(prefillTemplateStr, CmsResourceFilter.IGNORE_EXPIRATION);
} catch (Exception e) {
LOG.info(e.getLocalizedMessage(), e);
LOG.info("Unexpected error: mobb-2cb6da7ec2d7cec259d8c722ac6a03a4", e);
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ public void buttonClick(ClickEvent event) {
m_options.setEditMode(m_model.getEditMode());
} catch (IOException | CmsException e) {
// Can never appear here, since container is created by addDescriptor already.
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-38590289c4a4ebc41e348595a5808129", e);
}
}
setFilters(filters);
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/util/CmsParameterEscaper.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static Policy readPolicy(CmsObject cms, String sitePath) {
return null;
} catch (PolicyException e) {
LOG.error("Invalid Antisamy policy read from " + sitePath);
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-3aaa8e4fdc77a208585329e699a0c773", e);
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/webdav/CmsDavResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ public void setProperty(DavProperty<?> property) throws DavException {
try {
session.updateProperties(getCmsPath(), props);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-53da962e7b177d8e3c6a9fb85760d7ee", e);
throw new DavException(500);
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/webdav/CmsDavSessionProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public boolean attachSession(WebdavRequest request) throws DavException {
try {
repoSession = m_repository.login(username, password);
} catch (CmsException e) {
LOG.info(e.getLocalizedMessage(), e);
LOG.info(e.getLocalizedMessage(), "Unexpected error: mobb-f87b458de8e50580e64780e2a0fe8e5c");
}
}
if (repoSession == null) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/webdav/CmsJackrabbitWebdavServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ protected void service(HttpServletRequest request, HttpServletResponse response)
try {
super.service(request, response);
} catch (ServletException | IOException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-1c4eead02de80faaf8abfa5b61fe6ead", e);
throw e;
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/workplace/tools/A_CmsToolHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ protected void setParameters(CmsObject cms, String resourcePath) {
} catch (CmsException e) {
// should never happen
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-685a27ff5ad5b010d161fb04dadf83a7", e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3886,7 +3886,7 @@ protected void initVisibilities(Element root, CmsXmlContentDefinition contentDef
Class<?> handlerClass = Class.forName(mainHandlerClassName);
mainHandler = (I_CmsXmlContentVisibilityHandler)handlerClass.newInstance();
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-d671e3bdadfd8dd22b741a7dc9d78b78", e);
}
}
List<Element> elements = new ArrayList<Element>(CmsXmlGenericWrapper.elements(root, APPINFO_VISIBILITY));
Expand Down