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

Cannot load projects when using an organization logo with a relative path #283

Open
7heo opened this issue Mar 10, 2024 · 1 comment
Open

Comments

@7heo
Copy link

7heo commented Mar 10, 2024

Steps to reproduce:

  1. [CLI] Have a working azimutt install.
  2. [Browser] Set everything up.
  3. [Browser] Make a dedicated organization.
  4. [Browser] See that there is no way to change the organization avatar, so decide to update it manually.
  5. [CLI] Place an image locally (relative to the server path, so with a url starting with /).
  6. [CLI] Connect to the database.
  7. [CLI] Run: UPDATE organizations SET logo = '/relative/path.jpg' WHERE name = '<org name here>';.
  8. [Browser] Load a project.
  9. [Browser] See: "404 Error - Project not found. - Sorry, we couldn't find the project you’re looking for." etc etc.
  10. [CLI] Run: UPDATE organizations SET logo = 'https://your.instance.name/relative/path.jpg' WHERE name = '<org name here>';.
  11. [Browser] refresh.
  12. [Browser] Enjoy a fully working project.
@7heo
Copy link
Author

7heo commented Mar 10, 2024

As a side note, I have not noticed any bug related to a user avatar using a relative path.

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

No branches or pull requests

1 participant