Skip to content

Use resource id not dist in dashboard#4562

Closed
dafeder wants to merge 2 commits into
2.xfrom
resource-id-dashboard
Closed

Use resource id not dist in dashboard#4562
dafeder wants to merge 2 commits into
2.xfrom
resource-id-dashboard

Conversation

@dafeder

@dafeder dafeder commented Sep 22, 2025

Copy link
Copy Markdown
Member

Fixes #4561

QA steps

  1. Build from branch
  2. Load and import sample content
  3. Visit admin/dkan/datastore/status
  4. Confirm resource ID for bike lanes dataset is 3a187a87dc6cd47c48b6b4c4785224b7
  5. Run drush dkan:dataset-info cedcd327-4e5d-43f9-8eb1-c11850fa7c55
  6. Confirm resource ID is correct

@dafeder dafeder marked this pull request as ready for review September 22, 2025 21:02
'data' => [
'#theme' => 'datastore_dashboard_resource_cell',
'#uuid' => $dist['distribution_uuid'],
'#uuid' => $dist['resource_id'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it matter that the data property is still uuid?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well - depends what "matters" means 😄 . I did change that too at first but it required changing a lot more files, templates etc. I don't feel strongly though, if you think we should change the element/variable name too I can redo.

@dafeder

dafeder commented Sep 26, 2025

Copy link
Copy Markdown
Member Author

Now less sure, seems like there are other workflows where it's more useful to get the distribution ID...

@dafeder

dafeder commented Feb 13, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of #4615

@dafeder dafeder closed this Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List resource ID instead of distribution ID in datastore import dashboard

2 participants