Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a site running Umbraco 18.104.22.168 that I need to upgrade due to unsolveable Examine issues.
The site is running uComponents 2.1. There are various data types using uComponents, and I really don't want to have to recreate these if possible.
I have tried installing uComponents 5.4 directly via the developer section (under Umbraco 22.214.171.124). The install goes fine, but then each of the data types using uComponents throws this error (or similar) when i try to view it's settings in the Developer section:
Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[ArgumentException: Could not find a IDataType control matching DataEditorId 238fac68-4be2-4d3b-92b1-0d967e2f908e in the controls collection. To correct this, check the data type definition in the developer section or ensure that the package/control is installed correctly.]
umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) +295
umbraco.cms.presentation.developer.editDatatype.Page_Load(Object sender, EventArgs e) +569
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
Also, under installed Pacakges, uComponets is now listed twice - one for each version installed. Am i supposed to uninstall the old one? How then would i get the old data types transferred across to be using the new version?
I am going to go ahead and upgrade Umbraco to v4.11.7 now... hoping this will fix the ucomponents issue i've now created.
If anybody can suggest a better way to do this, I'd be most appreciative. What a painful upgrade this is, and the documentation around the upgrade process is confusing at best. It'd be nice if the uComponents crew could put together an upgrade guide for people needing to do this same thing (which seems to cause headaches for ALOT of people out there).
Thanks in advance
Quick update... I went ahead and upgraded the site to v4.11.7, and now everything seems fine. The uComponents data types are working again, and everything looks sweet. Lets see if it solves the Examine indexing issues i've been experiencing...
I also went ahead and uninstalled the uComponents 2.1 package... which actually broke uComponents as it removed uComponents.core.dll. Uninstalling and Installing the latest version (5.4.1) again added it back and it's okay now.
Hope this post helps somebody else out there that's not sure how to progress. It's nicer to know you're not wasting a whole bunch of time by experimenting hey. :)
Glad that you have it all sorted now.
The main problem was with uComponents compatibility - v5.x only supports Umbraco v4.8+ (which is why you got a whole bunch of errors)
The second issue with the Installed Packages section, it more of an Umbraco core concern - the package engine doesn't really do upgrades, hence why it shows multiple entries. For future reference, those entries are stored in an XML file "~/App_Data/packages/installed/installedPackages.config", which can be manually edited.
@Greg - genuine question - In terms of uComponents upgrade documentation, where would you expect to see/find it?
(As what may seem logical to me, may not be for others)
@Lee, I think the most logical place to put it would be on the uComponents website alongside the documentation... and/or on the Umbraco Wiki somewhere. With a link from the uComponents pages on Umbraco Projects and Codeplex pages. I think that'd cover it :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted