Selfclosing components in vue_base.html break the page #766

Closed
opened 2022-12-05 23:21:39 +01:00 by leuckeju · 4 comments
Member

This bug appears at least in Firefox.

In the vue_base.html is a <celery-progress-bottom /> element. If the page is now loaded, the content after this (mainly the footer) will completely disappear (I think vue replaces the whole component during rendering, which includes the rest of the HTML). A page then looks like this:

image

If you view the source code (not via inspect element), the browser actually reports this as an error:
image

If we replace the <celery-progress-bottom /> with a <celery-progress-bottom></celery-progress-bottom>, everything works again.

This bug appears at least in Firefox. In the `vue_base.html` is a `<celery-progress-bottom />` element. If the page is now loaded, the content after this (mainly the footer) will completely disappear (I think vue replaces the whole component during rendering, which includes the rest of the HTML). A page then looks like this: ![image](/uploads/75c00687f6a4f4d7cdf4b38cf53aae7b/image.png) If you view the source code (**not via inspect element**), the browser actually reports this as an error: ![image](/uploads/edf56f6936ba24e3ce7d68bb509bf807/image.png) If we replace the `<celery-progress-bottom />` with a `<celery-progress-bottom></celery-progress-bottom>`, everything works again.
Owner

assigned to @hansegucker

assigned to @hansegucker
Owner

created branch 766-selfclosing-components-in-vue_base-html-break-the-page to address this issue

created branch [`766-selfclosing-components-in-vue_base-html-break-the-page`](/AlekSIS/official/AlekSIS-Core/-/compare/master...766-selfclosing-components-in-vue_base-html-break-the-page) to address this issue
Owner

mentioned in merge request !2769

mentioned in merge request !2769
Owner

Closed in favour of #759

Closed in favour of #759
nik closed this issue 2022-12-13 21:33:50 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#766
No description provided.