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

Graphics are broken links #1

Closed
stealthrabbi opened this issue Dec 9, 2016 · 16 comments
Closed

Graphics are broken links #1

stealthrabbi opened this issue Dec 9, 2016 · 16 comments

Comments

@stealthrabbi
Copy link

Broken link for image, at least in Chrome. TeamCity 10.0.3.
image

@stealthrabbi
Copy link
Author

The actual browser notification has the text, but no icon.

@stealthrabbi
Copy link
Author

from browser inspector:

@grundic
Copy link
Owner

grundic commented Dec 9, 2016

@stealthrabbi, thank you for your bug report!
Will check this issue, should be some trivial error with resources.

@grundic
Copy link
Owner

grundic commented Dec 9, 2016

Hm, strange. Could not reproduce your issue. Can you give some more information about your environment? What operating system do you use?

Can you take a look at <TEAMCITY_INSTALLATION>/webapps/ROOT/plugins/teamcity-browser-notify. It should look something like this:

TeamCity-10.0.3/webapps/ROOT/plugins/teamcity-browser-notify
└── com
    └── github
        └── grundic
            └── browser
                └── notificator
                    ├── img
                    │   ├── permission_denied.png
                    │   ├── permission_granted.png
                    │   └── teamcity_logo.png
                    ├── js
                    │   ├── listener.js
                    │   ├── notify.js
                    │   └── settings.js
                    └── jsp
                        ├── empty.jsp
                        └── settings.jsp

8 directories, 8 files

@stealthrabbi
Copy link
Author

My directory looks like that, although my teamcity is not installed in webapps/ROOT, but instead webapps/teamcity.

@stealthrabbi
Copy link
Author

I'm on Windows, FWIW. Is there maybe an issue with permissions on the image files?

@grundic
Copy link
Owner

grundic commented Dec 12, 2016

Well, webapps/teamcity looks weird: just installed Teamcity on Windows through the installer and here is the installation path: C:\TeamCity\webapps\ROOT. How did you installed your version of TeamCity?

@stealthrabbi
Copy link
Author

I just moved it from ROOT to teamcity so teamcity would be in the URL. I think I installed via the MSI before, and update by giving downloading new WAR files.

Everything else works fine with teamcity.

@grundic
Copy link
Owner

grundic commented Dec 12, 2016

I see, you've done something like this: http://stackoverflow.com/questions/6071426/teamcity-behind-nginx-proxy.

Okay, now I understand the problem. Would try to find a solution for that.

@stealthrabbi
Copy link
Author

no, i'm not behind a proxy. I just wanted to change the URL for the teamcity install.

Is there something in your plugin that expects the webapp to be in root?

@grundic
Copy link
Owner

grundic commented Dec 12, 2016

There is a path to the icons, which doesn't expect custom path of Teamcity...
Have to change it here.

grundic added a commit that referenced this issue Dec 12, 2016
@grundic
Copy link
Owner

grundic commented Dec 12, 2016

@stealthrabbi, fixed that in 1.0.1, please have a look.
Thank you for your issue :)

@stealthrabbi
Copy link
Author

Alright, so i've never updated a plugin before. Do i just delete the old zip from the plugins dir and replace with the new one?

@grundic
Copy link
Owner

grundic commented Dec 12, 2016

Yep, that should be enough.

@stealthrabbi
Copy link
Author

tested out the new version. works good. Thanks!

@grundic
Copy link
Owner

grundic commented Dec 13, 2016

Awesome!
Thank you as well for finding this issue.

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

2 participants