nextcloud / weather

⛅️ Weather app for Nextcloud
GNU Affero General Public License v3.0
47 stars 27 forks source link

App Is Displaying Template Text #89

Open paulcalabro opened 4 years ago

paulcalabro commented 4 years ago

Steps to reproduce

  1. Load the page

Expected behaviour

The page doesn't show the template text

Actual behaviour

The page quickly displays template text in red before showing the final rendered content. I've observed this behavior for numerous major releases.

Screen Shot 2020-06-14 at 3 52 43 PM Screen Shot 2020-06-14 at 3 52 27 PM

Server configuration

Operating system: Ubuntu

Web server: Nginx

Database: MariaDB

PHP version: 7.4.6

Nextcloud version: (see Nextcloud admin page) 19.0.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: Docker Hub

ldwellman commented 3 years ago

I'm also seeing this behavior -- but only on the first attempt to load. After logging into Nextcloud, the first time I click on the weather icon on the top toolbar, I get these same errors as shown by @paulcalabro . However, if I immediately click the same icon a second time, it loads the page properly, including my local city data which was entered previously. Thereafter, it works for a while until something apparently leaves the cache or logout or something. But like clockwork, the first time I click after logging into Nextcloud, I can expect it to fail.
Here's a screen snippet from the Google developer debugging window, if it helps solve the mystery. I'm not a java programmer, but I have a rudimentary understanding of java code . . . I just can't help much on this situation, but would be happy to test or assist someone else who knew what they were doing. :)

Nextcloud-Weather-app-debug-error-info