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

Can't load new news and style issues on NC 13 #245

Closed
1 task done
LEDfan opened this issue Jan 6, 2018 · 3 comments
Closed
1 task done

Can't load new news and style issues on NC 13 #245

LEDfan opened this issue Jan 6, 2018 · 3 comments

Comments

@LEDfan
Copy link
Member

LEDfan commented Jan 6, 2018

I have some issues with the news app, I'm reporting them in one issue, since I think they may be related.

Explain the Problem

Compact view style is broken

schermafbeelding 2018-01-06 om 08 47 25
The problem is that you can scroll to the right until the end of the text of an article. (See the scrollbar)

Settings menu style is broken

selectie_812
Occurs when opening the settings menu and then hovering it.

Can't load older news items

For some reason it looks like the JS is not triggered to load newer news items, since there isn't a request in the network tab. Instead when I scroll to the bottom, there is just a white page.
The content is loaded using a mobile app however.

Steps to Reproduce

Explain what you did to encounter the issue

  1. Open the news app...

System Information

  • News app version: 12.0.0
  • Nextcloud version: 13.0.0.9 (13.0 beta4)
  • PHP version: 7.1..11
  • Database and version: mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
  • Browser and version: Firefox nightly and Chrome 63.0.3239.132
  • Distribution and version: openSUSE 42.3 (same problem on other machines)

Contents of nextcloud/data/nextcloud.log

{"reqId":"XyfK8Dgc4U39xviBLUlu","level":3,"time":"2018-01-06T07:40:30+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"file_get_contents(\/srv\\/www\/apps\/news\/appinfo\/signature.json): failed to open stream: No such file or directory at \/srv\/c.ledfan.be\/www\/lib\/private\/IntegrityCheck\/Helpers\/FileAccessHelper.php#40","userAgent":"--","version":"13.0.0.9"}

Contents of Browser Error Console

Content Security Policy: De instellingen van de pagina blokkeerden het laden van een bron op self (‘script-src 'nonce-xxxxx=' 'unsafe-eval'’). Source: (function (ERROR) {   const V8_STACK_....
JQMIGRATE: Migrate is installed, version 1.4.0
core.js:7:542

(I'm getting these messages on every page)

Network tab

There are some weird requests in the network tab:
selectie_813
The 302's are redirected to /apps/files.

@BernhardPosselt
Copy link
Member

BernhardPosselt commented Jan 6, 2018

Dup of #239

Try to remove position: relative from #app-content-wrapper via your dev tools and see o if that also fixed compact mode

@LEDfan
Copy link
Member Author

LEDfan commented Jan 6, 2018

Removing position: relative fixes the loading of news item, but doesn't fix the styling, but removing display:flex fixes the style issues.

@BernhardPosselt
Copy link
Member

Can you report that as well in the server 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