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:
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
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
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?
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
Aplologies, that original post showed the issue but this is the current actual error message (1 of 4444).
"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).