Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
@@ -0,0 +1,3 @@
## Bug ##
Fixed bug when calling PUT api/datasets/{datsetId}/guestbook body = {id over 127}. Values for Guestbook IDs over 127 are no longer failing.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
// Make sure the requested guestbook is available via the dataset's ancestry
final List<Guestbook> guestbooks = dataset.getOwner().getAvailableGuestbooks();
for (Guestbook gb : guestbooks) {
if (gb.getId() == guestbook.getId()) {
if (gb.getId().equals(guestbook.getId())) {
Comment thread
qqmyers marked this conversation as resolved.
allowedGuestbook = gb;
break;
}
Expand Down
Loading