View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
12956Bug reportsSurvey editingpublic2018-01-15 10:39
Reporterollehar Assigned Tomarkusfluer 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.0.0-rc.x 
Target Version3.0.xFixed in Version3.0.0-rc.x 
Summary12956: Giant vue.js error message in debug console
Description

Title and pic. Would be nice to eventually cleanup all JS tracing.

TagsNo tags attached.
Attached Files
Selection_350.png (71,928 bytes)   
Selection_350.png (71,928 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)latest dev
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Relationships

related to 12970 closedmarkusfluer Too much noise in browser console. 

Users monitoring this issue

There are no users monitoring this issue.

Activities

markusfluer

markusfluer

2017-11-24 17:36

administrator   ~45153

This is only the case in debug mode and will not be solvable without completely rewriting all views.
Vue is basically complaining about not being the only script instance running.

Its formed as an error, but in fact is only a warning.

LouisGac

LouisGac

2017-11-28 17:17

developer   ~45180

https://stackoverflow.com/questions/40849885/vue-js-2-0-failed-to-compile-template
maybe it will help?

markusfluer

markusfluer

2017-11-28 17:23

administrator   ~45181

Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=25217

markusfluer

markusfluer

2017-11-28 17:31

administrator   ~45182

There is no issue with vue js it is just complaing over script tags in the template to render.
This may cause hazard, by memory leakage and incorrect rendering.
So far we had no issues and it never did any damage. Since I'm compiling our adminpanel with webpack it is all bound to a specific scope, so issues are most unlikely.

So this "Error" is actually just a warning that things may happen.
For some of the pages in the adminpanel it is resolved now. I will keep looking for issues and fix them accordingly.

If you stumble upon inlie scripts, just wrap them in the provided clientscript->render methods to avoid the vue error

c_schmitz

c_schmitz

2018-01-15 10:39

administrator   ~45727

Version 3.0.3 released.

Related Changesets

LimeSurvey: develop ae3f345b

2017-11-28 17:52

markusfluer


Details Diff
Fixed issue 12956: Giant vue.js error message in debug console Affected Issues
12956
mod - application/helpers/admin/htmleditor_helper.php Diff File
mod - application/views/admin/survey/editLocalSettings_main_view.php Diff File
mod - application/views/admin/survey/prepareEditorScript_view.php Diff File
mod - application/views/admin/survey/subview/accordion/_generaloptions_panel.php Diff File
mod - assets/packages/adminpanel/build/lsadminpanel.js Diff File
mod - assets/packages/adminpanel/build/lsadminpanel.js.map Diff File
mod - assets/packages/adminpanel/build/lsadminpanel.min.js Diff File
mod - assets/packages/adminpanel/src/main.js Diff File
mod - installer/create-database.php Diff File
mod - themes/survey/bootswatch/fonts/Lato-OFL.txt Diff File

Issue History

Date Modified Username Field Change
2017-11-24 14:49 ollehar New Issue
2017-11-24 14:49 ollehar File Added: Selection_350.png
2017-11-24 17:36 markusfluer Note Added: 45153
2017-11-28 16:50 markusfluer Relationship added has duplicate 12970
2017-11-28 16:50 markusfluer Assigned To => markusfluer
2017-11-28 16:50 markusfluer Status new => resolved
2017-11-28 16:50 markusfluer Resolution open => fixed
2017-11-28 16:50 markusfluer Fixed in Version => 3.0.0-rc.x
2017-11-28 16:51 markusfluer Relationship deleted has duplicate 12970
2017-11-28 16:51 markusfluer Relationship added related to 12970
2017-11-28 17:17 LouisGac Note Added: 45180
2017-11-28 17:23 markusfluer Changeset attached => LimeSurvey develop ae3f345b
2017-11-28 17:23 markusfluer Note Added: 45181
2017-11-28 17:31 markusfluer Note Added: 45182
2018-01-15 10:39 c_schmitz Note Added: 45727
2018-01-15 10:39 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing