Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability fix (powered by Mobb Autofixer) #31

Open
wants to merge 94 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
4f7f3bd
mobb fix commit: 7bf21791-601d-4c76-855d-424f3a983b8d
Dec 9, 2024
24e51d8
mobb fix commit: e100aa09-4201-419b-b2c5-fb9c3dedd826
Dec 9, 2024
aafe3db
mobb fix commit: c5a4d5b9-3849-432d-8aae-1badbf0cbf61
Dec 9, 2024
1c6c73c
mobb fix commit: 7346a5aa-0e28-49a0-8db3-2107103dfb0a
Dec 9, 2024
28da4f7
mobb fix commit: d0f8e258-841d-487c-ab1d-1a773cf19e7b
Dec 9, 2024
e4714c9
mobb fix commit: ed1f09e8-cf52-46b1-a795-e851e247058c
Dec 9, 2024
7793b35
mobb fix commit: 2fc0ae9e-7dca-4880-9254-7b849abd007f
Dec 9, 2024
ab377e2
mobb fix commit: a6528bba-83c7-4e22-b006-2ed77254a3e0
Dec 9, 2024
a824b75
mobb fix commit: e537a671-37be-4b34-b08a-01639e5d81c2
Dec 9, 2024
0f9b13c
mobb fix commit: b7945b36-35cc-47af-8c69-15b3c1a76c69
Dec 9, 2024
434857c
mobb fix commit: d5792ce8-36a3-4c0e-b1a2-c2e857152a95
Dec 9, 2024
565323a
mobb fix commit: 5c46abe0-eb05-460d-8687-161a42b60b44
Dec 9, 2024
5015e1d
mobb fix commit: d70064cb-c083-4043-94d2-72b650f33e34
Dec 9, 2024
6d537e1
mobb fix commit: 92ed264f-20d9-4206-be40-9c1a726c3b3e
Dec 9, 2024
e45a304
mobb fix commit: 9aa79cf8-bd8c-4343-8af3-5b5fa67f7a60
Dec 9, 2024
54fb40c
mobb fix commit: c5b3edc7-24b7-4456-ba86-f6fc5a0a77c0
Dec 9, 2024
3608eaf
mobb fix commit: 297a741c-e6b3-49c1-8b6d-6b51ca360128
Dec 9, 2024
fbb02ad
mobb fix commit: 5dcc28aa-e082-478c-91c7-cc44b5acd594
Dec 9, 2024
02f3163
mobb fix commit: 896c55d1-dec3-4614-be7e-3a0ccb7d534e
Dec 9, 2024
92b4f73
mobb fix commit: 5f5fbd50-895f-4743-b4b6-5752e049f4b0
Dec 9, 2024
576a469
mobb fix commit: e6930548-36b3-48a6-9f62-acf195ad4cc3
Dec 9, 2024
8ffe6fa
mobb fix commit: a85fafe3-8b65-4ed9-9d1c-5ec2bba7d740
Dec 9, 2024
83b47d9
mobb fix commit: d161aeed-c37e-4ed1-a6e3-c127f06ba8b1
Dec 9, 2024
9b9faa4
mobb fix commit: 574c8bd4-467a-49d1-8bb2-570b6cfce7b5
Dec 9, 2024
b7cff84
mobb fix commit: b220f988-9352-4ca5-8260-9b0e726526fd
Dec 9, 2024
1ff3392
mobb fix commit: 5929d0ab-338c-4230-95b3-23945fefcf55
Dec 9, 2024
2978d15
mobb fix commit: 0705b103-bb70-45e7-993d-33e0f02b4e53
Dec 9, 2024
ad073c3
mobb fix commit: a192ea29-8498-4fe1-b913-c0643a346c3f
Dec 9, 2024
a70b846
mobb fix commit: 6e6bfea7-6a79-415f-9b6d-5a6d2a3a0818
Dec 9, 2024
3964731
mobb fix commit: 1df818a3-487d-43dd-a021-0895b23e9e26
Dec 9, 2024
5b0226f
mobb fix commit: ddd08e64-a6a6-475e-b2ff-32bf941a09a9
Dec 9, 2024
035d474
mobb fix commit: a144802a-fb7d-4f21-8590-2cda46657528
Dec 9, 2024
43fa132
mobb fix commit: b4579112-277e-45a9-9f01-7ec32eedacc9
Dec 9, 2024
6225e09
mobb fix commit: 984cacec-c575-4c90-b2f1-52672700e490
Dec 9, 2024
17e9ed0
mobb fix commit: 9e2e256a-75eb-42a7-a8a8-2c95b9edde8c
Dec 9, 2024
950ccab
mobb fix commit: bd0beef5-cee9-4149-aa01-d45865916ffd
Dec 9, 2024
ac18627
mobb fix commit: 19b6b578-916d-4c41-8f05-b3a6afa395fe
Dec 9, 2024
afa4ffa
mobb fix commit: ff921735-0ca9-4c2b-8c48-27a9fcedf198
Dec 9, 2024
2e08d68
mobb fix commit: 0a677317-3638-4170-b2e1-4280920ad6d1
Dec 9, 2024
a8dc883
mobb fix commit: c85f0eb8-07b1-4b97-b2f3-b7970d8d6d8f
Dec 9, 2024
3278ca6
mobb fix commit: 3962fabc-06c7-4451-b2d1-8a8ae7231126
Dec 9, 2024
d369027
mobb fix commit: 04064952-0b7d-41dd-a577-f0e0e7e2b074
Dec 9, 2024
72f544f
mobb fix commit: df9101cd-412d-4e86-a5e1-7bb196d7aaca
Dec 9, 2024
d772934
mobb fix commit: 31593694-5f4c-403c-a853-0321a81f8c5f
Dec 9, 2024
f8e965c
mobb fix commit: 63b71669-a92b-45ba-9d60-984e39db75a4
Dec 9, 2024
70334b3
mobb fix commit: 831b24b4-6f05-45e6-905d-254460e55510
Dec 9, 2024
f086449
mobb fix commit: d024229c-b770-4fc5-931d-2e7ef7563766
Dec 9, 2024
fb6b37c
mobb fix commit: bb17480c-f31b-497f-8aba-7db5cea29fdb
Dec 9, 2024
9839fd0
mobb fix commit: 066518d0-1b32-4eb5-849b-9e37541e9e8c
Dec 9, 2024
e50bf02
mobb fix commit: 2493d777-ea5a-4432-9550-ba7f3931cc02
Dec 9, 2024
f224f05
mobb fix commit: b2e601b5-ec8c-40ed-9c53-755a272c62f7
Dec 9, 2024
24a207f
mobb fix commit: fb3718b6-c19f-4034-b182-5ea3262a023d
Dec 9, 2024
8aea761
mobb fix commit: 6c8c719a-7b9a-4e61-93a3-9f6c963a7040
Dec 9, 2024
19fc0c4
mobb fix commit: 0e6274d2-4105-49b3-8f50-14afb5a4bfda
Dec 9, 2024
ee10d64
mobb fix commit: f135466b-a292-45ed-8234-a1feaaca037c
Dec 9, 2024
ad6453b
mobb fix commit: b3f56b75-1c50-4ffc-b0a7-d5bc36aad18a
Dec 9, 2024
0cf9bf6
mobb fix commit: 9bc6a76f-f983-409f-9997-9a73b16043c7
Dec 9, 2024
d92555a
mobb fix commit: 3d5f2cbf-ba31-46b9-b9c4-0584e360a83a
Dec 9, 2024
144cbe7
mobb fix commit: a9031953-d35a-4b87-abc0-f52a078164ef
Dec 9, 2024
b57715d
mobb fix commit: 8b36f1f1-8d3b-4e73-afb9-77521ded1da2
Dec 9, 2024
dc4b9f2
mobb fix commit: b71fbdf6-5d78-4227-a4cd-916d6ef43bec
Dec 9, 2024
4bc5f53
mobb fix commit: 7306fc1a-e27c-42b6-a7cb-fe425c9aa4d5
Dec 9, 2024
885f9e8
mobb fix commit: acf74229-0f49-4959-96e2-233afbd8b003
Dec 9, 2024
682b174
mobb fix commit: 4d369720-e504-4f8f-8726-2d7653ee4b39
Dec 9, 2024
30a1d70
mobb fix commit: cfd86a93-da35-4476-b12b-16e213493c0b
Dec 9, 2024
77e189d
mobb fix commit: ec9fcc3b-781e-4d1d-a84a-f69b9ac7f4ea
Dec 9, 2024
25785f7
mobb fix commit: db4723a4-b5ce-4930-8846-78145cbe6436
Dec 9, 2024
5b759b4
mobb fix commit: 43bc1264-e17f-464e-9421-73312f7bb61e
Dec 9, 2024
dd2b002
mobb fix commit: 807972f7-5419-4c0a-9f73-1196c15b744a
Dec 9, 2024
a76dde4
mobb fix commit: 42061397-e23e-4b43-8030-8afc888cddc8
Dec 9, 2024
66ee271
mobb fix commit: db28342c-38c2-4f68-92da-2516f6e3b025
Dec 9, 2024
4f5a6ff
mobb fix commit: 01904d02-f836-4e62-942f-bdba06fc6c65
Dec 9, 2024
d7c9c64
mobb fix commit: b14b4f2b-9556-41f0-8592-bb283dc8b46a
Dec 9, 2024
dcd41b4
mobb fix commit: e92db7c8-8176-4217-8948-3c1f7db19172
Dec 9, 2024
48173d4
mobb fix commit: 85b956d9-5d49-4d41-a43a-116658a54aad
Dec 9, 2024
346188d
mobb fix commit: 660da658-16ee-4220-ac01-9d1015717a4b
Dec 9, 2024
eaa537e
mobb fix commit: 1b5d714d-e46e-4030-a468-36e928d2ac02
Dec 9, 2024
26ec86b
mobb fix commit: 0a6eb29e-6c3f-4e1e-a6e4-b6931d903f8c
Dec 9, 2024
8342f12
mobb fix commit: 05f91449-44da-4fed-94fa-196455b1912e
Dec 9, 2024
b1d4368
mobb fix commit: d6cd48e4-db54-45d9-80cd-c00a14633a4d
Dec 9, 2024
8248506
mobb fix commit: 555119ac-5428-4ff8-bcac-68a19aab09e3
Dec 9, 2024
96eb414
mobb fix commit: ed5fcfae-4c1c-464c-8851-fa8327d43555
Dec 9, 2024
827be87
mobb fix commit: 760dea9a-2837-47e9-b13a-28a1c04bdfc8
Dec 9, 2024
7ce4e6f
mobb fix commit: 8d698e00-fb34-40e4-ac0c-172382e141a0
Dec 9, 2024
e9f5cff
mobb fix commit: e1553f9a-8eba-44c9-99fb-825a329c94f8
Dec 9, 2024
2645454
mobb fix commit: ef9c2e02-6414-4aba-a06b-14983e7c2787
Dec 9, 2024
f5c477a
mobb fix commit: e6a4fd13-5c7d-466a-9bb4-69e59cae7a69
Dec 9, 2024
1d5ccd8
mobb fix commit: 48a8b00a-cfc8-400e-85a8-341ac5e0492a
Dec 9, 2024
4de2dc2
mobb fix commit: 3e41fa3d-f524-4bd1-a0e4-b51c3f7c5874
Dec 9, 2024
0bb439a
mobb fix commit: 748ff0c7-bc04-4398-b0d8-f56ae342fef1
Dec 9, 2024
927c5eb
mobb fix commit: 70b4cfde-0c5b-403e-946d-b9bc1ab55727
Dec 9, 2024
272cfa3
mobb fix commit: 85a584d4-465f-4c94-8ee0-e083855d8ef1
Dec 9, 2024
a39737b
mobb fix commit: 288a23ef-394e-46b2-b370-fae8b16301f8
Dec 9, 2024
3df7b0a
mobb fix commit: 9c736dbf-5c29-4da6-85ff-ce376c9d2128
Dec 9, 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
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public String buildCheckboxEnableNotification() {
false).getValue();
} catch (CmsException e) {
if (LOG.isInfoEnabled()) {
LOG.info(e.getLocalizedMessage());
LOG.info("Unexpected error: mobb-431508fa83ac257a72e21878df784ed6");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src-modules/org/opencms/workplace/commons/CmsLock.java
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ public List<String> getLockedResources() {
} catch (CmsException e) {
// error reading a resource, should usually never happen
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(getLocale()), e);
LOG.error("Unexpected error: mobb-b1a844417e6a819f56cd9ea005587b99", e);
}
}
if (Boolean.valueOf(getParamIncluderelated()).booleanValue()) {
Expand Down
4 changes: 2 additions & 2 deletions src-modules/org/opencms/workplace/commons/CmsPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ public String buildSelectStartGalleries(String htmlAttributes) {
} catch (CmsLoaderException e) {
// resource type not found, log error
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-f377eb619772ed41ebcd39e170acfdcd", e);
}
continue;
}
Expand Down Expand Up @@ -927,7 +927,7 @@ public String buildSelectStartGalleries(String htmlAttributes) {
} catch (CmsException e) {
// error reading title property
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-7d46ac598c0d691fb6cc12003954fcfe", e);
}
}
options.add(title.concat(" (").concat(sitePath).concat(")"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ public String getDialogUri(String resource, CmsJspActionElement jsp) {
} catch (CmsException e) {
// should usually never happen
if (LOG.isInfoEnabled()) {
LOG.info(e.getLocalizedMessage());
LOG.info("Unexpected error: mobb-a7d89bb24f9c41e3115848af22c62e99");
}
}
return URI_PROPERTY_DIALOG;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpSer
} catch (Exception e) {
// should usually never happen
if (LOG.isInfoEnabled()) {
LOG.info(e.getLocalizedMessage());
LOG.info("Unexpected error: mobb-95e54dc7a283d088d03cb52107e0a7b5");
}
}
} else if (DIALOG_SAVE_EDIT.equals(getParamAction())) {
Expand Down Expand Up @@ -621,7 +621,7 @@ protected boolean isHideButtonAdvanced() {
return false;
}
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-cbb5dfa31c696944e4059b1b03fbe6ec", e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public boolean isEnabled(CmsWorkplace wp) {
} catch (CmsException e) {
// should never happen
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-4e66475a15ce62a8aef3ec6e4209c1ce", e);
}
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public String csvItem(CmsListItem item) {
}
} catch (IOException e) {
// should never happen, log anyway
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-3dd6f5a1317f8338b9717cc071df07c0");
}
return sw.getBuffer().toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ private List getRetainedPagesWithTemplate(List xmlPages) {
false);
} catch (CmsException e2) {
if (LOG.isErrorEnabled()) {
LOG.error(e2);
LOG.error("Unexpected error: mobb-191fcaf51c82a184e34559d95d58f42a");
}
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void run() {
} catch (Exception e) {
getReport().println(e);
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage());
LOG.error("Unexpected error: mobb-48c8ea77b16fa18471a519718471c294");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ private List<CmsResource> searchResources(I_CmsReport report, CmsObject cmsObjec
resources.addAll(
index.search(cmsObject, query, true, null, false, null, MAX_PROCESSED_SOLR_RESULTS));
} catch (CmsSearchException e) {
LOG.error(e.getMessage(), e);
LOG.error("Unexpected error: mobb-ae9c0c9c3ffa6127f3da50b654017b7e", e);
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src-setup/org/opencms/setup/CmsSetupBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@ protected CmsParameterConfiguration getComponentsProperties(String location)
stream.close();
} catch (IOException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(e.getLocalizedMessage(), e);
LOG.debug("Unexpected error: mobb-45798ad47638eda2041499bd53b92283", e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ protected void update(CmsUUID structureId, String rootPath, int type, CmsResourc
m_workQueue.add(config.getStructureId());
}
} catch (Exception e) {
LOG.warn(e.getMessage(), e);
LOG.warn("Unexpected error: mobb-2212eba4ff42aea7447d048d530aeb97", e);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ade/configuration/CmsDetailNameCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private void reload() {
}
m_detailIdCache = newMap;
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-c1473a6738f29eaa53ffec71ac9f1d26", e);
}
}
}
2 changes: 1 addition & 1 deletion src/org/opencms/ade/configuration/CmsElementView.java
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public boolean hasPermission(CmsObject cms, CmsResource folder) {
}

} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-d9f66a540269e5624202eea21e63d418", e);
}
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public void reload() {
CmsResourceFilter filterFunction = CmsResourceFilter.ONLY_VISIBLE_NO_DELETED.addRequireType(typeFunction);
formatterResources.addAll(m_cms.readResources("/", filterFunction));
} catch (CmsException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-b6789fe12ca7aa202581607c022e98c3", e);
}
Map<CmsUUID, I_CmsFormatterBean> newFormatters = Maps.newHashMap();
for (CmsResource formatterResource : formatterResources) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ade/publish/CmsMyChangesProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public List<CmsResource> getResources(CmsObject cms, Map<String, String> params,
try {
return Lists.newArrayList(OpenCms.getPublishManager().getUsersPubList(cms));
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-78716f5fc63af4d302d1e521c7d6a0c9", e);
return Lists.newArrayList();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/ade/sitemap/CmsModelPageHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ private List<CmsModelPageEntry> buildModelPageList(List<CmsModelPageConfig> mode
} catch (CmsVfsResourceNotFoundException e) {
continue;
} catch (Exception e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-f462e669cd2a4d2eff3c747ad73488bc", e);
continue;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/configuration/CmsParameterStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public static Map<String, WeightedValue> parse(byte[] data, String source) throw
try {
doc = CmsXmlUtils.unmarshalHelper(data, resolver, /*validate=*/true);
} catch (CmsXmlException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn(e.getLocalizedMessage(), "Unexpected error: mobb-55a8d185c9922eea4153caa92d63a132");
doc = CmsXmlUtils.unmarshalHelper(data, resolver, false);
}
return parse(doc.getRootElement(), source);
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/db/CmsDbSqlException.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public CmsDbSqlException(CmsMessageContainer container, Throwable cause) {
super(container, cause);
// log all sql exceptions
if (LOG.isWarnEnabled()) {
LOG.warn(container.key(), this);
LOG.warn("Unexpected error: mobb-96a8535deff1fc2585f13e6fe2283c74", this);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/db/CmsSecurityManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -4365,7 +4365,7 @@ public CmsResource readDefaultFile(
throw se;
} catch (CmsException e) {
// ignore all other exceptions
LOG.debug(e.getLocalizedMessage(), e);
LOG.debug(e.getLocalizedMessage(), "Unexpected error: mobb-3d66a5594804d7a96d139851557ddf70");
} finally {
dbc.clear();
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/db/generic/CmsSqlManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static org.opencms.db.generic.CmsSqlManager getInstance(String classname)
Object objectInstance = Class.forName(classname).newInstance();
sqlManager = (org.opencms.db.generic.CmsSqlManager)objectInstance;
} catch (Throwable t) {
LOG.error(Messages.get().getBundle().key(Messages.LOG_SQL_MANAGER_INIT_FAILED_1, classname), t);
LOG.error(Messages.get().getBundle().key(Messages.LOG_SQL_MANAGER_INIT_FAILED_1, classname), "Unexpected error: mobb-6a66747a3469c89eeb95107594d9f3d5");
sqlManager = null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ CmsResource getResource(CmsObject cms, CmsUUID structureId) {
} catch (CmsVfsResourceNotFoundException e) {
return null;
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-e7bb7659003f02fce1fbdcc9f1c05958", e);
return null;
}
}
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 @@ -398,7 +398,7 @@ public void cmsEvent(org.opencms.main.CmsEvent event) {
}

} catch (CmsException e1) {
LOG.error(e1.getLocalizedMessage(), e1);
LOG.error("Unexpected error: mobb-f047abbfe854bcd353edf5961665365b", e1);
clear();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/i18n/CmsEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static String convertHostToPunycode(String uriString) {
builder.setUserInfo(uriWithCorrectedHost.getUserInfo());
uriString = builder.build().toASCIIString();
} catch (URISyntaxException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-123ff94f8f9d15127e68a689605c490a");
}
}
return uriString;
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/i18n/CmsLocaleGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private void initLocales() {
false);
m_noTranslation = noTranslationProp.getValue();
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-e2cf813bab96efe42c49491992082467", e);

}
}
Expand Down
4 changes: 2 additions & 2 deletions src/org/opencms/i18n/CmsLocaleGroupService.java
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,10 @@ protected CmsResource getDefaultFileOrSelf(CmsResource res) {
try {
defaultfile = m_cms.readDefaultFile("" + res.getStructureId());
} catch (CmsSecurityException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-9fbff050e73ae168cfa4ccc2690f86d7");
return null;
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-64cb055878c4a0edc8f5adf6b2400ee3");
return null;
}
return defaultfile;
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 @@ -1294,7 +1294,7 @@ protected void exportUser(Element parent, CmsUser user) throws CmsImportExportEx
// serialize the user info and write it into a file
entryNode.addCDATA(CmsDataTypeUtil.dataExport(value));
} catch (IOException ioe) {
getReport().println(ioe);
getReport().println("Unexpected error: mobb-caa337bb117373582e576b8c9a9e3763");
if (LOG.isErrorEnabled()) {
LOG.error(
Messages.get().getBundle().key(
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/CmsImportVersion10.java
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ public void importRelations() {

} catch (CmsException e) {
getReport().addError(e);
LOG.error(e.getLocalizedMessage(), e);
LOG.error(e.getLocalizedMessage(), "Unexpected error: mobb-278eced965ec758bcc4ab7779fbcbb22");
continue;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/importexport/CmsImportVersion2.java
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ private void removeFolders() throws CmsImportExportException {
CmsMessageContainer message = Messages.get().container(
Messages.ERR_IMPORTEXPORT_ERROR_REMOVING_FOLDERS_OF_IMPORTED_BODY_FILES_0);
if (LOG.isDebugEnabled()) {
LOG.debug(message.key(), e);
LOG.debug(message.key(), "Unexpected error: mobb-711f2ac117184a8930f9d127989bad10");
}

throw new CmsImportExportException(message, e);
Expand Down
4 changes: 2 additions & 2 deletions src/org/opencms/importexport/CmsImportVersion5.java
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ protected void readResourcesFromManifest() throws CmsImportExportException {
translatedName),
e);
}
m_report.println(e);
m_report.println("Unexpected error: mobb-29b6e91313ebeedc160f83ec4064441a");
m_report.addError(e);
}
}
Expand Down Expand Up @@ -789,7 +789,7 @@ protected void readResourcesFromManifest() throws CmsImportExportException {
}
}
} catch (Exception e) {
m_report.println(e);
m_report.println("Unexpected error: mobb-90e54cb5b28f85c37e7ada547f441574");
m_report.addError(e);

CmsMessageContainer message = Messages.get().container(
Expand Down
4 changes: 2 additions & 2 deletions src/org/opencms/importexport/CmsImportVersion7.java
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ public void importUserInfo(String infoName, String infoType, String infoValue) {
m_userInfos.put(infoName, CmsDataTypeUtil.dataImport(infoValue, infoType));
} catch (Throwable e) {
if (LOG.isErrorEnabled()) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-db832b7885be5884edb26bd77913af0c", e);
}
}
}
Expand Down Expand Up @@ -3338,7 +3338,7 @@ private boolean hasContentInVfsOrImport(CmsResource resource) {
return true;
}
} catch (CmsException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn(e.getLocalizedMessage(), "Unexpected error: mobb-e04e1925b39e7d521494750782d85303");
}
return false;

Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/jsp/CmsJspResourceWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ private CmsJspResourceWrapper readResource(String sitePath) {
result = new CmsJspResourceWrapper(m_cms, m_cms.readResource(sitePath));
} catch (CmsException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(e.getMessage(), e);
LOG.debug("Unexpected error: mobb-63a5ca9de5ff787d8aad651bc7cba427", e);
}
}
return result;
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/jsp/CmsJspTagNavigation.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void setLocale(String locale) {
try {
m_locale = LocaleUtils.toLocale(locale);
} catch (IllegalArgumentException e) {
LOG.error(Messages.get().getBundle().key(Messages.ERR_TAG_INVALID_LOCALE_1, "cms:navigation"), e);
LOG.error(Messages.get().getBundle().key(Messages.ERR_TAG_INVALID_LOCALE_1, "cms:navigation"), "Unexpected error: mobb-138591e5b97f068e38ef7d7e6b345f07");
m_locale = null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/jsp/CmsJspTagSearch.java
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ private I_CmsSearchResultWrapper getSearchResults() {
m_searchController.getCommon().getConfig().getMaxReturnedResults());
return new CmsSearchResultWrapper(m_searchController, solrResultList, query, m_cms, null);
} catch (CmsSearchException e) {
LOG.warn(Messages.get().getBundle().key(Messages.LOG_TAG_SEARCH_SEARCH_FAILED_0), e);
LOG.warn(Messages.get().getBundle().key(Messages.LOG_TAG_SEARCH_SEARCH_FAILED_0), "Unexpected error: mobb-38efb71bea0b074dfe343d5a000eb62b");
return new CmsSearchResultWrapper(m_searchController, null, query, m_cms, e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ String getCategoryFilterPart() {
m_cms.getRequestContext().addSiteRoot(path)).getPath();
categoryVals.add("\"" + path + "\"");
} catch (CmsException e) {
LOG.warn(e.getLocalizedMessage(), e);
LOG.warn("Unexpected error: mobb-d5cfa5a1cb03f2cea2e58e8a8aa968b0", e);
}
}
if (!categoryVals.isEmpty()) {
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 @@ -686,7 +686,7 @@ public Object transform(Object arg0) {
}

} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-bb54153a45a27d9694433b59f47f42d1", e);
}
if (result == null) {
result = mapping.m_defaultValue;
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/module/CmsModuleManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ public synchronized void deleteModule(
}
} catch (CmsException e) {
// ignore the exception and delete the next resource
LOG.error(Messages.get().getBundle().key(Messages.LOG_DEL_MOD_EXC_1, sitePath), e);
LOG.error(Messages.get().getBundle().key(Messages.LOG_DEL_MOD_EXC_1, sitePath), "Unexpected error: mobb-87fa3af674e8be59640e02f93359c4ca");
report.println(e.getMessageContainer(), I_CmsReport.FORMAT_WARNING);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/opencms/module/CmsModuleUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ private void updateRelations(CmsObject cms, CmsResource importResource, List<Rel
try {
cms.deleteRelationsFromResource(importResource, relFilter);
} catch (CmsException e) {
LOG.error(e.getLocalizedMessage(), e);
LOG.error("Unexpected error: mobb-e930f432500ddd1daefec7dc085c0315", e);
m_report.println(e);
}

Expand Down
4 changes: 2 additions & 2 deletions src/org/opencms/publish/CmsPublishEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ protected void publishJobFinished(CmsPublishJobInfoBean publishJob) {
unlockPublishList(publishJob);
} catch (Throwable t) {
// log failure, most likely a database problem
LOG.error(t.getLocalizedMessage(), t);
LOG.error("Unexpected error: mobb-15891f28d4a26d2fa262cad7a3adf190", t);
}

// trigger the old event mechanism
Expand Down Expand Up @@ -692,7 +692,7 @@ protected void publishJobFinished(CmsPublishJobInfoBean publishJob) {
m_publishHistory.add(publishJob);
} catch (Throwable t) {
// log failure, most likely a database problem
LOG.error(t.getLocalizedMessage(), t);
LOG.error("Unexpected error: mobb-84e0b0bf60738689922db61b561f634f", t);
}
if (Thread.currentThread() == m_currentPublishThread) {
// wipe the dead thread, only if this thread has not been abandoned
Expand Down
Loading
Loading