Calendar: Calendar Icon missing in menu

Created on 15 Mar 2017  ·  28Comments  ·  Source: nextcloud/calendar

Steps to reproduce

  1. Nextcloud instance with calendar-app

Expected behaviour

Icon is visible

Actual behaviour

Icon is not shown

Server configuration

Operating system: CentOS

Web server: Apache 2.2

Database: MySQL

PHP version: 7.0.8

Server version: 11.0.2

Calendar version: 1.5.1

Updated from an older installed version or fresh install: Updated from 1.5.0

Login as admin user into your cloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here:
`No errors have been found.`

List of activated apps:
Enabled:

  • calendar: 1.5.1
  • contacts: 1.5.3
  • dav: 1.1.1
  • direct_menu: 0.10.0
  • federatedfilesharing: 1.1.1
  • files: 1.6.1
  • files_pdfviewer: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_videoplayer: 1.0.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.0
  • notifications: 1.0.1
  • password_policy: 1.1.0
  • provisioning_api: 1.1.0
  • sharebymail: 1.0.1
  • spreed: 1.2.0
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1

Disabled:

  • activity
  • admin_audit
  • comments
  • encryption
  • external
  • federation
  • files_accesscontrol
  • files_automatedtagging
  • files_external
  • files_retention
  • files_versions
  • firstrunwizard
  • serverinfo
  • survey_client
  • systemtags
  • templateeditor
  • user_external
  • user_ldap
  • user_saml

**The content of config/config.php:**
{
    "system": {
        "instanceid": "oczlzc627zwt",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***"                                            ,
        "dbtype": "mysql",
        "version": "11.0.2.7",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "loglevel": 3,
        "updater.release.channel": "stable",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "maintenance": false,
        "theme": ""
    }
}

Are you using encryption: no

Client configuration

Browser: Firefox

Operating system: Win8.1

3 - to review bug

All 28 comments

The problem I found was the path for the svg-icon as shown in the following screenshot:

missing-icon

Only the calendar app is missing the nextcloud (part of the path). All other apps start with nextcloud/restOfPath/

That's really weird, because contacts and calendar use exactly the same routine to generate the path:
https://github.com/nextcloud/calendar/blob/master/appinfo/application.php#L102
https://github.com/nextcloud/contacts/blob/master/appinfo/app.php#L35

Though it's weird that the contacts app uses a callback oO

The same problem appears with the standard-menu. So it's not a problem of the direct-menu-app.

@bastoGrande Do you mind to help testing #369 ? :)

Well, I guess I can try, but don't know how? :)

you can test this by replacing the content of apps/calendar/appinfo/application.php with the content of https://raw.githubusercontent.com/nextcloud/calendar/9b6db3b4aad3ebfd85057e0e0456dac2a6252056/appinfo/application.php :)

Don't see why updating from 1.5.0 would have changed this. Even more, it's correctly shown on all of my instances with the same configuration.

well I replaced it and did a "ctrl+f5" refresh and the icon is still missing... :S

@tcitworld
That's actually a good point. I couldn't imagine to be the first and only one, who is experiencing it, but forgot to write it...

well I replaced it and did a "ctrl+f5" refresh and the icon is still missing... :S

Hm. :/

The problem is that neither @tcitworld nor me can reproduce your bug :/

I just tried to edit in the browser the path of the icon. Nothing happened, so where is the icon supposed to be? Under what path can I normally find it?

Under what path can I normally find it?

It's supposed to be inside apps/calendar/img/calendar.svg

Does this file exist in your Nextcloud installation? :)

sorry.. just had to get to the beach. it was about time, since the last time! 🙂

so yes, the file apps/calendar/img/calendar.svg exist. after downloading it, I tried to open it with Inkscape, but didn't work, well at least I didnt't see anything that looks like logo.. so that's why I think, somehow my icon-file got corrupted.. anyone an idea?

so i will try to get the original from the repository and check if this changes something or maybe there is another problem with my Inkscape installation..
weird day, today.. 😕

well it didn't got corrupted (same content), but what the heck is going on?
I can't open the calendar.svg correctly with my Inkscape installation. No error appears, but no logo is shown as well.
Can anyone confirm?

Because I already successfully worked with Inkscape and had no problems before.

well I still don't have an idea what exactly is going wrong.

  1. can anybody try to open the calendar.svg and confirm to see the calendar symbol?
  2. can anybody me show/tell what img-path he/she has in his/her functioning nc-instance?

thx!

can anybody try to open the calendar.svg and confirm to see the calendar symbol?

I see the (white) calendar icon

can anybody me show/tell what img-path he/she has in his/her functioning nc-instance?

it's apps/calendar/img/calendar.svg for me

it's apps/calendar/img/calendar.svg for me

well, that's great, because it is the same for me

I see the (white) calendar icon

mhm, that's not so great.. what program do you use to open it? I tried paint.net (with plugin) and Inkscape and both didn't show me anything with the svg from my instance and the one from the repository.

well, that's great, because it is the same for me

Well, because my nextcloud instance is in http://nextcloud.dev/index.php
So that's the expected behavior

mhm, that's not so great.. what program do you use to open it? I tried paint.net (with plugin) and Inkscape and both didn't show me anything with the svg from my instance and the one from the repository.

Sketch on macOS. I can also just open the svg in Firefox / Chromium and Safari

files - nextcloud chromium today at 9 15 29 pm

and if i move nextcloud to a subfolder, the path to the svg changes as well. Just as expect.

well, what could be the problem, that this recognition fails? because i have installed my nextcloud-instance into a subfolder.
could it be that #358 could break this recognition (cause this was another bug I experienced)? (I don't think so, but who knows?)

could it be that #358 could break this recognition

No, it's very very very very unlikely that these bugs are related.

No, it's very very very very unlikely that these bugs are related.

ok

well, what could be the problem, that this recognition fails?

I guess it's some configuration issue on your side, but that's only a wild guess.
Actually I'm really clueless at the moment. It's also not related to Firefox on Windows either:
dashboard firefox today at 10 14 28 pm

I tried different configurations but I had no luck reproducing your issue.

well, it's just an icon.. I'll try to forget it.. thank you for your effort!
I learnt a lot and I think that is the point what we should keep in mind about this "bug"...

hehe, one big 🤦‍♂️ (offtopic: why is there no man-facepalm, but a woman with a mars-gender-symbol?!?) for me!

I just never thought it could be a caching problem, but I don't know why I never thought about it, because now it's super obvious to me!
Found the hint here..

You can forget this never existing bug and thanks again for your help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raimund-schluessler picture raimund-schluessler  ·  3Comments

GLLM picture GLLM  ·  4Comments

scorewinner picture scorewinner  ·  3Comments

gschenck picture gschenck  ·  4Comments

jancborchardt picture jancborchardt  ·  3Comments