Skip to content

Commit

Permalink
fix: add check for delegated records on raw access, issue #10171
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Mar 1, 2024
1 parent 505e8f0 commit d871727
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ public static <RET> RET rawPropertyRead(OElement element, String propertyName) {
if (element == null) {
return null;
}
if (!(element instanceof ODocument)) {
element = element.getRecord();
}
return ((ODocument) element).rawField(propertyName);
}

Expand Down

0 comments on commit d871727

Please sign in to comment.