Skip to content

Share-by-email link for a dataset points to /dashboard/user/workflow/ instead of /dashboard/user/dataset/ #5163

@mengw15

Description

@mengw15

What happened?

Shared a dataset with my own email on hub.texera.io. The notification email body said:

... access the dataset at https://hub.texera.io/dashboard/user/workflow/{did}

The path segment is workflow but should be dataset — clicking the link doesn't land on the shared dataset.

Root cause — share-access.component.ts:193:

if (this.type !== "computing-unit")
  message += `, access the ${this.type} at ${location.origin}/dashboard/user/workflow/${this.id}`;
//                                                                            ^^^^^^^^ hardcoded

The dialog is invoked with type: "dataset" (see user-dataset-list-item.component.ts:122), but the URL path segment is hardcoded workflow.

Fix: branch on this.type to pick the right route. app-routing.constant.ts:33-37 already defines DASHBOARD_USER_WORKFLOW and DASHBOARD_USER_DATASET.

Related: PR #4200 fixed the missing /dashboard/user/ prefix (issue #3583); this is the remaining defect on the same line.

How to reproduce?

Share any dataset via the dashboard share dialog with your own email. Confirmed on hub.texera.io (2026-05-22).

Version

1.1.0-incubating (Pre-release/Master)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions