Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The default coll parameter to assets is the database name #6176

Draft
wants to merge 6 commits into
base: production
Choose a base branch
from

Conversation

acwhite211
Copy link
Member

@acwhite211 acwhite211 commented Jan 29, 2025

Fixes #6160

The default coll parameter to assets is the database name. This is determined when calling the /context/attachment_settings.json API endpoint, which call the assets_gw app view function get_settings. When setting the default coll parameter, it should be the database name in the settings, not a random collection name.

Checklist

  • Self-review the PR after opening it to make sure the changes look good and
    self-explanatory (or properly documented)

Testing instructions

  • Open assets page for an instances with attachments on the attachments server
  • See that all the attachments are fetched successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋Back Log
Development

Successfully merging this pull request may close these issues.

Wrong param in asset URL creation in SP7
1 participant