Skip to content

Commit

Permalink
cryptic parse exception
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimnielandt authored and fxprunayre committed Dec 18, 2023
1 parent 805ad31 commit 7ed1792
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ private Element retrieveMetadata(String uuid) {
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, response, groupIdVal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private Element retrieveMetadata(String uuid) {
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, response, groupIdVal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ private String addMetadata(RecordInfo ri, Element md, Element info, boolean loca
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, md, groupIdVal);
Expand Down Expand Up @@ -746,7 +746,7 @@ private void updateMetadata(RecordInfo ri, String id, Element md,
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, md, groupIdVal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private Element getRemoteMetadata(XmlRequest req, String id) throws Exception {
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, md, groupIdVal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ private Element retrieveMetadata(XmlRequest transport, RecordInfo ri) {
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, md, groupIdVal);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private Element retrieveMetadata(RemoteFile rf) {
try {
Integer groupIdVal = null;
if (StringUtils.isNotEmpty(params.getOwnerIdGroup())) {
groupIdVal = Integer.parseInt(params.getOwnerIdGroup());
groupIdVal = getGroupOwner();
}

params.getValidate().validate(dataMan, context, md, groupIdVal);
Expand Down

0 comments on commit 7ed1792

Please sign in to comment.