We have moved to GitHub Issues
Created by Markus Johansson 02 Oct 2013, 05:39:23 Updated by Shannon Deminick 25 Oct 2013, 05:29:22
Relates to: U4-2673
Relates to: U4-2934
Relates to: U4-3227
This may be a part of the plan but it dossent look so good.
If I install a "old"-package that contains a data type this error is thrown. Maybe we could warn the user before installing it?
"This package contains legacy data types and are nog compatable with Umbraco 7 yada yada"....
Server Error in '/' Application.
Could not find a map for a property editor with a legacy id of b52aecb2-4990-41f9-bac3-d5aac1764f25. Consider using the new business logic APIs instead of the old obsoleted ones.
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.Data.ObjectNotFoundException: Could not find a map for a property editor with a legacy id of b52aecb2-4990-41f9-bac3-d5aac1764f25. Consider using the new business logic APIs instead of the old obsoleted ones.
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.
[ObjectNotFoundException: Could not find a map for a property editor with a legacy id of b52aecb2-4990-41f9-bac3-d5aac1764f25. Consider using the new business logic APIs instead of the old obsoleted ones.] Umbraco.Core.PropertyEditors.LegacyPropertyEditorIdToAliasConverter.GetAliasFromLegacyId(Guid legacyId, Boolean throwIfNotFound) in f:\TeamCity\buildAgent\work\e1a0ddf7a1349eaf\src\Umbraco.Core\PropertyEditors\LegacyPropertyEditorIdToAliasConverter.cs:56 Umbraco.Core.Models.DataTypeDefinition..ctor(Int32 parentId, Guid controlId) in f:\TeamCity\buildAgent\work\e1a0ddf7a1349eaf\src\Umbraco.Core\Models\DataTypeDefinition.cs:35 Umbraco.Core.Services.PackagingService.ImportDataTypeDefinitions(XElement element, Int32 userId) in f:\TeamCity\buildAgent\work\e1a0ddf7a1349eaf\src\Umbraco.Core\Services\PackagingService.cs:792 umbraco.cms.businesslogic.packager.Installer.InstallBusinessLogic(Int32 packageId, String tempDir) +513 umbraco.presentation.developer.packages.Installer.ProcessInstall(String currentStep) +716 umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +623 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
This has been fixed. We now detect if there are any legacy IDataType's in the package and display a warning. During install if no mapping could be found from the legacy GUID -> new Alias we set the Data Type to reference a Label/Readonly property editor. Which can then be changed eventually to a compatible property editor.
Assignee: Shannon Deminick
Backwards Compatible: True
Affected versions: 7.0.0
Due in version: 7.0.0