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

Broken icon when sent through occ #278

Open
PVince81 opened this issue Apr 15, 2019 · 2 comments
Open

Broken icon when sent through occ #278

PVince81 opened this issue Apr 15, 2019 · 2 comments
Labels
Milestone

Comments

@PVince81
Copy link
Contributor

Steps

  1. Create a user "user1"
  2. sudo -u wwwrun ./occ notifications:generate -u user1 test message
  3. Login as "user1"

Expected result

Notification without icon.

Actual result

Notification with broken icon

image

Version

ownCloud 10.2.0 RC1 + notifications 0.5.0 RC1

@PVince81
Copy link
Contributor Author

likely due to the fact that we have a "icon.png" but no "icon.svg"

possible approaches:

  1. find the equivalent svg file and add it there. but it's a speaker icon ??
    or
  2. remove the icon and don't set it when run from occ. likely the fastest solution

I suggest to go with 2) and add an icon option to occ later on

@PVince81 PVince81 modified the milestones: QA, backlog Apr 25, 2019
@prsnbrg
Copy link
Contributor

prsnbrg commented Jun 23, 2021

I have the same error, but ownCloud is installed in a subdirectory. The generated URL that is shown to me in the notification is: https://MYDOMAIN/apps/notifications/img/icon.png but it should instead be https://MYDOMAIN/owncloud/apps/notifications/img/icon.png instead.

In an installation where it is directly in the web root directory, the icon is displayed correctly.

The error is therefore directly related to the following line, but this looks correct.

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

No branches or pull requests

2 participants