Skip to content

Commit 77973eb

Browse files
Fix legacy links (#8548)
* fix legacy links by treating whole url part as dataset name and not only parts of it * add changelog entry
1 parent c5847b7 commit 77973eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.unreleased.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
3131
- Fixed a Bug where the "Save view configuration as default" modal's text included undefined. [#8514](https://github.com/scalableminds/webknossos/pull/8514)
3232
- Fixed the alignment of the button that allows restricting floodfill operations to a bounding box. [#8388](https://github.com/scalableminds/webknossos/pull/8388)
3333
- Fixed that it was possible to trigger the find largest segment id job on layers which are not stored as segmentation layers on the server. [#8503](https://github.com/scalableminds/webknossos/pull/8503)
34+
- Fixed resolution of legacy links having dataset names with `-`. [#8548](https://github.com/scalableminds/webknossos/pull/8548)
3435
- Fixed a rare and subtle bug related to volume annotation and undo/redo. [#7506](https://github.com/scalableminds/webknossos/pull/7506)
3536
- Fixed a bug where segment statistics would sometimes be wrong in case of an on-disk segmentation fallback layer with segment index file. [#8460](https://github.com/scalableminds/webknossos/pull/8460)
3637
- Fixed a bug where sometimes outdated segment statistics would be displayed. [#8460](https://github.com/scalableminds/webknossos/pull/8460)

frontend/javascripts/oxalis/model/accessors/dataset_accessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,5 +728,5 @@ export function getDatasetIdOrNameFromReadableURLPart(datasetNameAndId: string)
728728
const isId = /^[a-f0-9]{24}$/.test(datasetIdOrName || "");
729729
return isId
730730
? { datasetId: datasetIdOrName, datasetName: null }
731-
: { datasetId: null, datasetName: datasetIdOrName };
731+
: { datasetId: null, datasetName: datasetNameAndId };
732732
}

0 commit comments

Comments
 (0)