Page 1 of 1

tinymce errors ngclient eclipse dist

PostPosted: Sun Oct 17, 2021 5:15 pm
by pitc
I just did an upgrade of an application from Servoy 2020 to Servoy 2021.09 and got a lot of errors (4, 444 of them!) and warnings (75, 753). All errors are indicating timymce plugin.
for example:
Code: Select all
Description   Resource   Path   Location   Type
"char" is reserved keyword   tinymce.js   /myApp/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/dist/tinymce   line 3504   JavaScript Problem


another example
Code: Select all
Description   Resource   Path   Location   Type
Mismatched input 'function', ] expected   polyfills.6d3b6ce59e0627a89a98.js   /myApp/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/dist   line 1   JavaScript Problem


and
Code: Select all
Description   Resource   Path   Location   Type
"class" is reserved keyword   plugin.js   /zumbafunfit/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/dist/tinymce/plugins/table   line 7482   JavaScript Problem

Since this appears in a distribution I was wondering if there is some mistake made in the upgrade and I need to manually fix some stuff.

Should I export the solution as a .servoy file and re-import to another workspace or?

Re: tinymce errors ngclient eclipse dist

PostPosted: Tue Feb 22, 2022 10:55 pm
by pitc
I am still getting this error.
Is there a way to do a real "clean" and/or to download correct version of tinymce?

Re: tinymce errors ngclient eclipse dist

PostPosted: Wed Feb 23, 2022 10:31 am
by jcompagner
i think you setup is wrong
what is "myApp" exactly? that should just be the root workspace dir.

in that dir you should have your solutions (or they can even be outside of that workspace dir in the git home folder)

But it almost seems that you have your workspace dir ("myApp") as also as your project, that is wrong your workspace dir should not be a project in the developer

the structure should be

/workspace/myApp (your app/solution/project)
/workspace/.metadata/xxxxxx

Re: tinymce errors ngclient eclipse dist

PostPosted: Wed Feb 23, 2022 6:40 pm
by pitc
Aplologies, that original post showed the issue but this is the current actual error message (1 of 4444).
Code: Select all
"char" is reserved keyword   tinymce.js   /zumbafunfit/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/dist/tinymce   line 3504   JavaScript Problem


The workspace is Z:\Git_REPOS\ZumbaFunFitApp.

The solution name is zumbafunfit.

So it appears that I have inadvertently created a metadata under zumbafunfit. I should delete all this because it has a date stamp of 2021.04.30 whereas the Z:\Git_REPOS\ZumbaFunFitApp has a .metadata directory with a datestamp of 2022.02.22.

After deleting the wrong metadata directory I no longer have the tinemce errors (no other errors now only warnings for svyUtils$tableGrid and similar).