Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
83c5d3d
mobb fix commit: 87b65807-20c5-408e-830e-ac7afa4431c7
Dec 26, 2024
34418e2
mobb fix commit: 780a9ee1-5b2e-4221-bb97-c831fc0f3f91
Dec 26, 2024
7fd0e9b
mobb fix commit: 7b7bc03e-4b00-45b9-ab7d-8c5b9c5d3983
Dec 26, 2024
713eb09
mobb fix commit: edb7168f-3cfd-47f2-977f-2de826225689
Dec 26, 2024
7217439
mobb fix commit: 0c59fe0f-0f32-40ab-83f3-0b1c28e9f65b
Dec 26, 2024
d6e5853
mobb fix commit: 4b14944a-5935-4878-a057-b67bf9ff434f
Dec 26, 2024
87f9035
mobb fix commit: bfc12814-53b0-45f6-93e8-4ca176643fae
Dec 26, 2024
fdffd28
mobb fix commit: 4bbd1b2c-0b21-4cfc-86a3-e42bdb78e0f3
Dec 26, 2024
71ccc38
mobb fix commit: 195ce050-6b16-4b05-b5be-22cb359c4bd5
Dec 26, 2024
06ecbbb
mobb fix commit: 8a681507-e16f-4521-ae88-66c36f03fe56
Dec 26, 2024
537ddd1
mobb fix commit: 1bc5df33-ef58-443a-9ecc-a38d3312807e
Dec 26, 2024
5c586cd
mobb fix commit: 83e7a0eb-590b-41b6-9be1-5cc6e3798cb4
Dec 26, 2024
b17d951
mobb fix commit: cd6ce11a-9a9c-4f73-b90a-5e79089fc35e
Dec 26, 2024
a9f2e7e
mobb fix commit: e9bce147-4f27-481c-9518-d140edd80de6
Dec 26, 2024
22f5b76
mobb fix commit: c10478fb-1e93-4405-b1d8-e13e3b72346d
Dec 26, 2024
43f9896
mobb fix commit: 60b2828d-1ae2-41b4-b6c6-96d368ac1072
Dec 26, 2024
92baafd
mobb fix commit: 03e37dab-9c8a-41b9-ba33-cdd730940978
Dec 26, 2024
01e1bc5
mobb fix commit: 90f4e9eb-13a8-435d-a3d9-499cb9e4e1ac
Dec 26, 2024
537a287
mobb fix commit: 70255fbd-e0ae-40db-9704-e7fd69a287b2
Dec 26, 2024
b3547b5
mobb fix commit: f68589ad-9db3-4d2d-8eb2-1ef07f32e302
Dec 26, 2024
3045b14
mobb fix commit: 070d8375-43bf-401a-bcb2-1f61ab497360
Dec 26, 2024
f14f891
mobb fix commit: 5f0f0e23-8d48-480c-9a99-bc2ab5259a8b
Dec 26, 2024
2b8dd8f
mobb fix commit: aa345578-505a-4784-9822-3b5eed33c755
Dec 26, 2024
2382ca0
mobb fix commit: 015646db-1d00-46c4-bfd4-fd14c566c593
Dec 26, 2024
c8e91e7
mobb fix commit: 82ce4ea3-d5d4-4fd3-9f1d-8c2b488c9b1b
Dec 26, 2024
b99b291
mobb fix commit: e9e48bb0-5367-4885-8aaf-dcacd09976c1
Dec 26, 2024
772baff
mobb fix commit: d00e1ba1-d8dd-41bd-8e05-79111b095ade
Dec 26, 2024
fa34f82
mobb fix commit: 6c1f61cd-5826-4f00-85ff-2465a7fbb86e
Dec 26, 2024
2050607
mobb fix commit: ad4d7c3d-c009-49a3-80b6-6341eff8f751
Dec 26, 2024
7416a0f
mobb fix commit: 98959efd-ef1c-484f-9ebe-8dc96605bd9a
Dec 26, 2024
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
2 changes: 1 addition & 1 deletion src/org/opencms/db/generic/CmsProjectDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -3710,7 +3710,7 @@ protected void publishDeletedFile(
if (LOG.isErrorEnabled()) {
LOG.error(
Messages.get().getBundle().key(Messages.LOG_REMOVING_VISITEDLOG_1, offlineResource.toString()),
e);
"Unexpected error: mobb-ee95bde78a1eda4618525590726e26fb");
}
throw e;
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/file/CmsLinkRewriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public void rewriteLinks() throws CmsException {
}
m_cms.writeFile(file);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-29e1a9466ef602fe1f45c97989432a5c", e);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/file/types/A_CmsResourceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ protected void processCopyResources(CmsObject cms, String resourcename, CmsMacro
cms.adjustLinks(copiedResources, realAdjustFolderPath);
}
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-0d4f4b50ea13c4b5ce7b82ce39ba606b", e);
} catch (CmsIllegalArgumentException e) {
LOG.error(e.getLocalizedMessage(), e);
}
Expand Down
4 changes: 2 additions & 2 deletions src/org/opencms/gwt/CmsGwtService.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void log(String msg) {
*/
@Override
public void log(String message, Throwable t) {
LOG.info(message, t);
LOG.info("Unexpected error: mobb-52ed7edd7c70a7b64d74495094c674b7", t);
}

/**
Expand All @@ -201,7 +201,7 @@ public void log(String message, Throwable t) {
*/
public void logError(Throwable t) {

LOG.error(t.getLocalizedMessage(), t);
LOG.error(t.getLocalizedMessage(), "Unexpected error: mobb-dbfb91b691bcff9970a54301d26da867");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/i18n/CmsLocaleGroupService.java
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ protected CmsResource getDefaultFileOrSelf(CmsResource res) {
LOG.error(e.getLocalizedMessage(), e);
return null;
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-62e113644030cbd8213e1cb173b83caa", e);
return null;
}
return defaultfile;
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/i18n/CmsVfsBundleLoaderProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private String getEncoding(CmsObject cms, CmsResource res) {
String encoding = encProp.getValue(defaultEncoding);
return encoding;
} catch (Exception e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-71027d24da5632100e0c4a7f66c7dcab", e);
return defaultEncoding;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/A_CmsImport.java
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ protected void importUser(
Messages.get().container(Messages.RPT_USER_COULDNT_BE_ADDED_TO_GROUP_2, name, groupName),
I_CmsReport.FORMAT_WARNING);
if (LOG.isDebugEnabled()) {
LOG.debug(exc.getLocalizedMessage(), exc);
LOG.debug(exc.getLocalizedMessage(), "Unexpected error: mobb-5c86ca3d50bcaf3f540a671c95557901");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/CmsImportVersion5.java
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ protected CmsResource importResource(
}
} catch (Exception exc) {
// an error while importing the file
m_report.println(exc);
m_report.println("Unexpected error: mobb-fe91b7a510e09a3948b40ecdde4443dd");
try {
// Sleep some time after an error so that the report output has a chance to keep up
Thread.sleep(1000);
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/CmsImportVersion7.java
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ public void importRelations() {
LOG.warn(e.getLocalizedMessage());
}
if (LOG.isDebugEnabled()) {
LOG.debug(e.getLocalizedMessage(), e);
LOG.debug("Unexpected error: mobb-e5c60ce248e1c50af88396a2504c9607", e);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/jlan/CmsJlanDiskInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class CmsJlanDiskInterface implements DiskInterface {
*/
public static IOException convertCmsException(CmsException e) {

LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-991d0717d7dc3482265f982c0c09750f", e);
if (e instanceof CmsSecurityException) {
return new AccessDeniedException(e.getMessage(), e);
} else if (e instanceof CmsVfsResourceAlreadyExistsException) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/jsp/util/CmsJspStandardContextBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ public Object transform(Object contentAccess) {
try {
widthNum = Integer.parseInt(width);
} catch (NumberFormatException e) {
LOG.debug(e.getLocalizedMessage(), e);
LOG.debug("Unexpected error: mobb-264492f82e1c2f89711a865ad20f3386", e);
}
CmsDynamicFunctionBean.Format format = functionBean.getFormatForContainer(m_cms, type, widthNum);
CmsDynamicFunctionFormatWrapper wrapper = new CmsDynamicFunctionFormatWrapper(m_cms, format);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public int getPort() {
String portStr = m_config.get(ATTR_PORT);
return Integer.valueOf(portStr).intValue();
} catch (Exception e) {
LOG.error("Error getting letsencrypt port: " + e.getLocalizedMessage(), e);
LOG.error("Error getting letsencrypt port: " + e.getLocalizedMessage(), "Unexpected error: mobb-8fe84c4fe4920bf6f3db5221ebc1d9fb");
return -1;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public String getEditorStyleSheet(CmsObject cms, String editedResourcePath) {
result = property.getValue();
}
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-a6afc599a4898b2aff96d6abccedb745", e);
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/loader/CmsTransformerTemplateProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ public String readCommonProperty(CmsObject cms, String propertyName, String fall
false);
return prop.getValue();
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-42021d7bbb151b077ef6def784be165d", e);
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/main/CmsProtectedStaticFileHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public String getLink(CmsObject cms, CmsLink link) {
}
return null;
} catch (CmsException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-adef087e57bfdf1290000da7726acd1c", e);
return null;
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/org/opencms/pdftools/CmsPdfThumbnailLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,21 +158,21 @@ public CmsPdfThumbnailLink(CmsObject cms, String link, String options)
String widthStr = optionMap.get("w");
m_width = Integer.parseInt(widthStr);
} catch (Exception e) {
LOG.info(e.getLocalizedMessage(), e);
LOG.info("Unexpected error: mobb-85f3933ef91ff34ff295fc6c3f822038", e);
}

try {
String heightStr = optionMap.get("h");
m_height = Integer.parseInt(heightStr);
} catch (Exception e) {
LOG.info(e.getLocalizedMessage(), e);
LOG.info("Unexpected error: mobb-444e935c29d0a644bb3016c527a55fd3", e);
}

try {
String pageStr = optionMap.get("page");
m_page = Integer.parseInt(pageStr);
} catch (Exception e) {
LOG.info(e.getLocalizedMessage(), e);
LOG.info("Unexpected error: mobb-3fefe71dabd8b6b901364608e51e420a", e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/report/CmsShellLogReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void println(CmsMessageContainer container, int format) {
super.println(container, format);

m_line += container.key();
LOG.info(m_line);
LOG.info("Unexpected error: mobb-90f1ac91930ba2629b0d7e645127e067");
m_line = "";
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ui/actions/CmsStealLockAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void executeAction(I_CmsDialogContext context) {
cms.changeLock(res);
changedIds.add(res.getStructureId());
} catch (CmsException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-138bece9dc88fce2fab33017a99df23f", e);
}
}
context.finish(changedIds);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private void runPublishHistoryCleanup() {
notification.setDelayMsec(Notification.DELAY_FOREVER);
notification.show(A_CmsUI.get().getPage());
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-2bb934f608183dea5bb37dd80cb9918d", e);
CmsErrorDialog.showErrorDialog(e);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void loadProjects() {
}
m_container.sort(new Object[] {PROP_PUBLISH_DATE}, new boolean[] {false});
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-e272cacf4085fea330e871e8878691f1", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public boolean apply(Component component) {
initViewId = new CmsUUID(viewSettingStr);
}
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-901dc651b6dca7b1e0655f0dfc06e32b");
}
}
if (initViewId == null) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ui/dialogs/CmsGalleryOptimizeDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ void save(List<DataItem> dataList) {
m_deletedCurrentResource.remove(dataItem.getResource());
}
} catch (ValidationException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-a94a1491bb5a583d0f409fac99f2dbb5", e);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ui/sitemap/CmsSitemapTreeDataProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public CmsSitemapTreeNodeData getData(CmsResource resource) {
data.initialize(cms);
return data;
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-384e3f8695634110fdc0392887d81be1", e);
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/workplace/editors/CmsDialogElements.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public static List<CmsDialogElement> computeElements(
false).getValue(null);
} catch (CmsException e) {
if (LOG.isWarnEnabled()) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn(e.getLocalizedMessage(), "Unexpected error: mobb-be57472d2f62cd63954528ee36ce4e00");
}
}
if (elements != null) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/workplace/explorer/CmsResourceUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ public CmsGallerySearchResult getSearchResult(Locale locale) {
sResult = CmsGallerySearch.searchById(m_cms, m_resource.getStructureId(), locale);
m_searchResultMap.put(locale, sResult);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-15ece3727471d35f8caf4450835346e0", e);
}
}
return m_searchResultMap.get(locale);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ protected void changeItemLinkUrl(String itemUrl) {
}
} catch (IOException e) {
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-dd7f122cac0b4f6a641b604a6e8be1f5", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ protected void writeAttributes() {
}

} catch (Exception e) {
LOG.error(p + e.getLocalizedMessage(), e);
LOG.error(p + "Unexpected error: mobb-c9b80d70e0a8c88fb166f37d3ee54c13", e);
}
}

Expand Down