We are currently migrating from 6.1 to 6.2. Locally installed 6.2 on my computer and installed all packages. The code worked without any issues. However, after Adobe setup my new 6.2 environment, I followed the same steps but now I am getting the following error every time I try to edit a widget with a custom xtype.
Error Message: Uncaught cannot create Component: xtype 'minmaxmultifield' not found and no default supplied
Wondering if anyone else has experienced this issue and what they did to resolve it. I checked other forums and didn't see any solutions.
Solved! Go to Solution.
Agreed with Veena's response. Your new server does not have the client lib that defines the custom xtype. Also - as you move forward - I recommend switching to TOuch UI and Grainte data types in components dialog. XTYPE is for classic UI.
Views
Replies
Total Likes
Hi
- What I could understand from your error message is ; this particular xtype is a custom xtype 'minmaxmultifiled'? If Yes, then make sure the below points
1. Check the clientlibrary which you have this minmaxmultifield xtype js written
2. Check the categories of this clientlib and make sure this is properly included in your project
3. If you think you need this widget across all your projects , you can add cq.widgets as categories ( Please do this on your own risk, as this is the category for your entire cq.widgets .)
Since , you say that this is working in your local and not the new adobe server , I strongly believe that this JS is included in one of your project which is not present in the newly setup 6.2 server.
If after all the above changes , still it is not working , please reply back with your error log and a sample project for any of us to try and replicate the issue in our systems.
Thanks
Veena
Views
Replies
Total Likes
Agreed with Veena's response. Your new server does not have the client lib that defines the custom xtype. Also - as you move forward - I recommend switching to TOuch UI and Grainte data types in components dialog. XTYPE is for classic UI.
Views
Replies
Total Likes
Thanks. The code was referencing the incorrect file. Once I updated the path everything started working.
Views
Replies
Total Likes
Minify CSS and JS was being used. I turned this functionality off which resulted in the proper CSS & JS files from being imported.
Views
Replies
Total Likes
Did you turn of minification in publish ?
Yes. Turning off minification resolved the issue.
Views
Replies
Total Likes
How do you turn this off? where is it located?
Views
Replies
Total Likes
where in the code does it reference this?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies