Skip to content

[26.0] Remove broken serialize_urls from HDASerializer#22358

Merged
mvdbeek merged 1 commit intogalaxyproject:release_26.0from
mvdbeek:remove-serialize-urls
Apr 6, 2026
Merged

[26.0] Remove broken serialize_urls from HDASerializer#22358
mvdbeek merged 1 commit intogalaxyproject:release_26.0from
mvdbeek:remove-serialize-urls

Conversation

@mvdbeek
Copy link
Copy Markdown
Member

@mvdbeek mvdbeek commented Apr 1, 2026

The serialize_urls method has been broken in FastAPI context (raising NotImplementedError) because it used self.url_for without passing context. The client does not use these URLs — it hardcodes its own URL patterns in ContentItem.vue. The urls key was not included in any serializer view (summary, detailed, extended) and could only be fetched by explicitly requesting it.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

The `serialize_urls` method has been broken in FastAPI context
(raising NotImplementedError) because it used `self.url_for` without
passing context. The client does not use these URLs — it hardcodes
its own URL patterns in ContentItem.vue. The `urls` key was not
included in any serializer view (summary, detailed, extended) and
could only be fetched by explicitly requesting it.
@mvdbeek mvdbeek force-pushed the remove-serialize-urls branch from 1a87341 to 60863a4 Compare April 1, 2026 15:05
@mvdbeek mvdbeek merged commit 9ae4000 into galaxyproject:release_26.0 Apr 6, 2026
56 of 58 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in Galaxy Dev - weeklies Apr 6, 2026
@ahmedhamidawan ahmedhamidawan modified the milestones: 26.1, 26.0 Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

3 participants