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

Some SVG images cannot be displayed #533

Closed
libukai opened this issue Oct 5, 2023 · 5 comments
Closed

Some SVG images cannot be displayed #533

libukai opened this issue Oct 5, 2023 · 5 comments
Assignees
Labels
bug Something isn't working effort:1

Comments

@libukai
Copy link

libukai commented Oct 5, 2023

Describe the bug

In the Project page, some images cannot be displayed. When accessing directly via the link, it shows 'requested time range too broad'.

The same problem occurred in homepage too.

System information
Please provide information on:

  • v 2.9.1
  • Operating system
    • Docker: ghcr.io/muety/wakapi:latest
  • Database (Postgres:12.3)

CleanShot 2023-10-05 at 19 50 13@2x

CleanShot 2023-10-05 at 19 50 44@2x CleanShot 2023-10-05 at 19 52 25@2x
@muety muety changed the title Some SVG images cannot be displayed. Some SVG images cannot be displayed Oct 5, 2023
@muety
Copy link
Owner

muety commented Oct 5, 2023

Thanks for bringing this up, will be fixed asap. Could you do me a quick favor and try to temporarily set the permitted time range under Settings -> Permissions to unlimited (-1) and see if the top badge appears?

@muety muety self-assigned this Oct 5, 2023
@muety muety added bug Something isn't working effort:1 labels Oct 5, 2023
@libukai
Copy link
Author

libukai commented Oct 5, 2023

The top badge still don't appears after the time range set to -1.

CleanShot 2023-10-05 at 22 24 42@2x

@libukai
Copy link
Author

libukai commented Oct 25, 2023

After upgrading to 2.9.2, the badge on the project details page still cannot be displayed. This time, the error message is "user did not opt in to share entity-specific data".

CleanShot 2023-10-25 at 10 13 22@2x

CleanShot 2023-10-25 at 10 13 52@2x

@libukai
Copy link
Author

libukai commented Oct 25, 2023

I found that it was because the permissions in Public Data were not enabled. However, the relevant permissions here are all closed by default, and when viewing this page, it is mainly for personal viewing. May consider modifying the relevant logic?

CleanShot 2023-10-25 at 10 15 53@2x

@muety
Copy link
Owner

muety commented Oct 25, 2023

Very good point, will fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort:1
Projects
None yet
Development

No branches or pull requests

2 participants