Frontend: Markdown card is broken since 0.117

Created on 1 Nov 2020  路  5Comments  路  Source: home-assistant/frontend

Since I updated Home Assistant to version 0.117 every Markdown card I use is leading to a non visible view. Other views are still visible, except the ones in which the Markdown is taking place.

bug

Most helpful comment

I can't reproduce that. The card and its view work just fine.

What exactly do you mean by "non visible view"? The tab in the header bar is still there, but when going to it, there is no content (so all other cards in the view are gone)?

Also: Please use the issue template and fill it out to provide the required information. We don't even know from your two lines whether we are talking mobile or not.

All 5 comments

I can't reproduce that. The card and its view work just fine.

What exactly do you mean by "non visible view"? The tab in the header bar is still there, but when going to it, there is no content (so all other cards in the view are gone)?

Also: Please use the issue template and fill it out to provide the required information. We don't even know from your two lines whether we are talking mobile or not.

Hi @spacegaier, sorry for the inconvenience that I didn't make mention of the problem the way it should be. I hope I can hereby make the problem clearer.

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

The problem

When opening a particular view where a markdown card is included, I can not see any card in that specific view.

I'm experiencing the problem from my webbrowser and from the mobile app. It seems not giving any difference whether I use a different device.

Expected behavior

I expected to see the text-content mentioned in the markdown card as in versions before 0.117.

Steps to reproduce

When I tried to change the UI in raw by deleting the markdown card and saving the particular view; I can see every card (without the deleted markdown card of course). I tried making a new view, adding several entity cards and than adding a markdown card and from the moment I add a markdown card, the other entity cards are not displayed anymore.

Environment

  • Home Assistant release with the issue: 0.117.1
  • Last working Home Assistant release (if known): 0.116.4
  • Browser and browser version: Safari 13.1.3 (15609.4.1)
  • Operating system: Mac OS Catalina 10.15.7 (19H2)

State of relevant entities

- content: >-
   Onderstaand kan het schema voor de centrale verwarming worden aangepast. 
  title: Centrale verwarming schema
  type: markdown

Problem-relevant configuration

- content: >-
   Onderstaand kan het schema voor de centrale verwarming worden aangepast. 
  title: Centrale verwarming schema
  type: markdown

Javascript errors shown in your browser console/inspector

Logger: homeassistant
Source: runner.py:115 
First occurred: 16:15:18 (6 occurrences) 
Last logged: 16:15:48

Error doing job: An open stream object is being garbage collected; call "stream.close()" explicitly.

Additional information

Works fine for me, even with your exact content. I am however on Windows with Firefox and Chrome as well as Android mobile app, so it might be a Safari issue.

image

I cannot reproduce this in Safari 13.1.2 (13609.3.5.1.5) on macOS High Sierra, nor can I reproduce in Safari 14.0.1 (16610.2.11.51.4) on macOS Big Sur public beta. The view and card renders as expected for me (using the exact same contents).

I don't think it's a Safari issue. Possibly something related to custom cards? If you have any custom cards try disabling those temporarily.

I cannot reproduce this in Safari 13.1.2 (13609.3.5.1.5) on macOS High Sierra, nor can I reproduce in Safari 14.0.1 (16610.2.11.51.4) on macOS Big Sur public beta. The view and card renders as expected for me (using the exact same contents).

I don't think it's a Safari issue. Possibly something related to custom cards? If you have any custom cards try disabling those temporarily.

Exactly! All this time I thought that I didn't used the custom Markdown-mod card anymore. Unfortunately it was still standing in my custom_components folder...

Thank you all!!

Was this page helpful?
0 / 5 - 0 ratings