More Calendar display issues

  • 1
  • Problem
  • Updated 4 years ago
  • Not a Problem
Came in this morning to more Calendar issues. Out of 3 displays, only one is showing all 6 of the events for today.

With the other two screens, they are both displaying the SAME presentation. These screens had the last Calendar issue as well

There are a total of 6 events, one Display is only showing 3 events, the other displaying 4!!!
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
  • hangry

Posted 4 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

What player are you running? What hardware? Can you please give me a preview link to the URL that you're using?
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
Blake,
The display that is showing correctly is running on a Pi with the latest version of the Player (Auto-update on).

The other two displays that are showing the same presentation (One showing 3 events, the other showing 4) are both running Intel NUC with Windows 7 Professional. Also the latest version of the player with Auto-update.

I have emailed you the links and IDs. 
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

Thanks for the additional information.

It looks like the calendars that are not displaying correctly are a custom version hosted by you, so unfortunately there's not a whole lot we can do. If you are interested in a 
support subscription, we may be able to help you diagnose the problem with your custom widget.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
All that was done to this widget was change the order of the <span> tags so the location showed after the time not after the description and a colon added as a seperator between the two. None of the actual code base was changed or modified. I didn't even change any CSS. Nothing outside the <li> was modified.

If a simple change such as this is causing issues, I would think that's an issue with the Widget code itself (Perhaps to do with the recent update you guys did?).

Moving a <span> tag should not cause content to not display improperly, the code is the same, just in a different order. 
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

The functionality for custom layouts is now built into the newest version of our widget, you should give it a try to see if it suits your needs.

We are not having any issues with our calendar widget locally, nor have any of our other users reported issues. At this time our team has no reason to believe that our widget is not functioning as intended. 
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
I will take a look at the new widget on my test machine and see how it works.

If moving a <span> tag is causing issues, you now have a reason to believe that. Especially when you provided all the base files AND that it has been working fine since the end of November. It worked right up until about a week ago when the calendars stopped displaying totally and you guys admitted a recent update caused that issue. Something changed, but not from my end.

I've been doing front end development since 1997 and have worked on enough custom projects (As front end) and used enough <span> and <div> tags to know that such a change should not cause such erratic behaviour. 

I've also learned over the years that a large majority of users will not report issues, so just because nobody else reporting it doesn't mean there isn't a problem.

As a former IT Manager I found on numerous occasions that an 'isolated' incident was not actually isolated, it's just nobody else reported it because they found a work around, didn't have time or just couldn't be bothered to let somebody know.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
OK, I'm testing out the Calendar widget with a custom layout and after seeing the option for 'Show end times' remembered that I did make a code change. Per the instructions from Donna, I disabled the End time on the calendar.

Not sure if this was the cause of the previous issue. 

That said, with the new Widget, the calendar won't display at all with my custom layout.

As with previously, all I changed was the order of <span> tags. I copy and pasted the contents of widget.html (from the dist folder) on the GitHub repo. There are no instructions under the Custom layout saying which of the widget.html files to use, or items that must be added/removed to function correctly.

When I check the JS console, I was seeing a bunch of errors about content not using https with the CloudFlare links. I changed those links to simply  // instead of http:// so it will work as needed, but the calendar still does not display and is showing red X icons beside the Get request for the CSS files.

There is also an unknown RPC error at the bottom.

Any ideas?

Photo of Donna Peplinskie

Donna Peplinskie

  • 7,142 Points 5k badge 2x thumb
Ah, I see the problem. If you open widget.html, you'll notice that it's using relative URLs for widget.min.css and widget.min.js. You'll need to host these files on the same server as widget.html. For the CSS file, it will look for a file called widget.min.css in a folder named css. For Javascript, it will look for a file called widget.min.js in a folder named js. If you don't want to bother with folders, you can just modify widget.html to remove those folder names.

Thx.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

Not ignoring you, I have an ongoing conversation with one of our storage developers regarding this thread. I'll update you as soon as I know something!
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

After talking with our storage developer, and asking him to review this thread, he is unable to recreate what you're seeing. When widget-calendar.html is loaded, it loads up calendar-widget.min.js as it should including the sub folder.  
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
Blake,
And he's testing it with my files that are loaded on the server? Because it's still showing as not found for me.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Glen,

Yes he is. I provided him with your company ID and file locations.
Photo of Eric S.

Eric S.

  • 7,412 Points 5k badge 2x thumb
So then how do we fix this issue. If it's not working for me, but it's working for you guys, there must be something broken in between. It's the same code coming from the same place!

I've cleared all my cookies and caches in Chrome, I've tested in Incognito and I've even tried in FireFox and Safari.