I'm setting up a prototype that takes members & content from Umbraco 7.1.4 to Umbraco 7.13.2 using CMS Import PRO 3.7.8
I have a couple of issues,
Importing Members:
My member type has two properties. A media picker that allows
multiple images and a media picker that only allows single images.
The single image picker works, but the multi media picker doesn't.
After investigations, I can see that the multi-media picker, looks
for the media item using the wrong ID. It uses the Media's ID, not the
file path id.
Error while importing data for property 'profileImages', datasource record @memberLogin = '[email protected]', Error :Could not find file 'C:\git\destination.web\media\1046'.
Importing Content
My content has a property that uses Member Picker that references a
member from above. This reference unfortunately isn't imported at all.
After investigations, the old site uses Umbraco.MemberPicker and the new site uses
Umbraco.MemberPicker2. Is there a conversion available for this?
I've read through the documentation, but I can't see why this would be the case, so any advice would be amazing!
Boths issues are because of a missing converter. MemberPicker assumes it had the old GUID Id as property editor alias (Hope I can fix that soon, if you care to test?)
The issue for media is because the Mulitple media picker doesn't have an export converter like Single Image picker does. Will see if that can be implemented easily as well.
I've just checked the logs and there isn't anything in there that specifically relates to the memberpicker unfortunately.
Although looking at the console, it's doing a call to /umbraco/backoffice/UmbracoApi/Entity/GetByIds?type=Member
)]}',
{"Message":"An error has occurred.","ExceptionMessage":"Multiple actions were found that match the request: \r\nGetByIds on type Umbraco.Web.Editors.EntityController\r\nGetByIds on type Umbraco.Web.Editors.EntityController\r\nGetByIds on type Umbraco.Web.Editors.EntityController","ExceptionType":"System.InvalidOperationException","StackTrace":" at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n at Umbraco.Web.Editors.ParameterSwapControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}
It's when I open the document. I get an empty picker and get a red notification (with the original error [email protected]). If I look at the console I get the above message.
Sorry no not yet. Hopefully this week. In case you are in a Hurry you can always create a FieldProvider for these property editors. The manual explains how you can create a FieldProvider.
Importing Members & Content - Couple of Issues
Hi all,
I'm setting up a prototype that takes members & content from Umbraco 7.1.4 to Umbraco 7.13.2 using CMS Import PRO 3.7.8
I have a couple of issues,
Importing Members:
Error while importing data for property 'profileImages', datasource record @memberLogin = '[email protected]', Error :Could not find file 'C:\git\destination.web\media\1046'.
Importing Content
I've read through the documentation, but I can't see why this would be the case, so any advice would be amazing!
Hi Gareth,
Boths issues are because of a missing converter. MemberPicker assumes it had the old GUID Id as property editor alias (Hope I can fix that soon, if you care to test?)
The issue for media is because the Mulitple media picker doesn't have an export converter like Single Image picker does. Will see if that can be implemented easily as well.
Best,
Richard
Absolutely happy to test and if you need anything else from me, let me know!
Thanks
This dll should fix the memberpicker part. The multiple image part is a bit more difficult :-( Will come back to that later this week.
Hi Richard,
Just tested the DLL, browsing the content item with the memberpicker:
Server error: Contact administrator, see log for full details. Failed to retrieve entity data for ids [email protected].
Does it need to pass the ID for that member? The member exists.
Thanks Richard, will try that DLL and get back to you.
Weird,
What does the log says? Maybe the raw value changed over the years :-(
Best,
Richard
I've just checked the logs and there isn't anything in there that specifically relates to the memberpicker unfortunately.
Although looking at the console, it's doing a call to /umbraco/backoffice/UmbracoApi/Entity/GetByIds?type=Member
)]}', {"Message":"An error has occurred.","ExceptionMessage":"Multiple actions were found that match the request: \r\nGetByIds on type Umbraco.Web.Editors.EntityController\r\nGetByIds on type Umbraco.Web.Editors.EntityController\r\nGetByIds on type Umbraco.Web.Editors.EntityController","ExceptionType":"System.InvalidOperationException","StackTrace":" at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n at Umbraco.Web.Editors.ParameterSwapControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}
When you open the document or in CMSImport itself?
It's when I open the document. I get an empty picker and get a red notification (with the original error [email protected]). If I look at the console I get the above message.
Ah ok thought that was the error ion the import. Looks like the FieldProvider for the memberpicker is missing
Hi Richard, did you make any progress on this?
Really appreciate your time helping me fix this.
Hi Gareth,
Sorry no not yet. Hopefully this week. In case you are in a Hurry you can always create a FieldProvider for these property editors. The manual explains how you can create a FieldProvider.
Best,
Richard
is working on a reply...