Archetype icon indicating copy to clipboard operation
Archetype copied to clipboard

Label Template not working after Upgrade to 1.17.1

Open dksingh605 opened this issue 7 years ago • 12 comments

Hello I am using Umbraco 7.6.1 previously i am using Archetype 1.16 but after update all label Name not displayed in umbraco back office. for this reason all pages where i am using Archetype datatype umbraco will give Server error: Contact administrator, see log for full details. Failed to retrieve datatypes from tree service

please do some thing needfull

dksingh605 avatar Oct 06 '17 09:10 dksingh605

Hi there. Can you provide a sample one that is not working?

kgiszewski avatar Oct 06 '17 11:10 kgiszewski

Hello Please check complete error description in pdf Arketype Error1.pdf Replay ASAP

dksingh605 avatar Oct 07 '17 07:10 dksingh605

Hi there. Can you please post your issue in a format that is web friendly? External files may be dangerous for me to open, thank you.

kgiszewski avatar Oct 07 '17 11:10 kgiszewski

Also, I would recommend using the v.latest of Archetype

kgiszewski avatar Oct 07 '17 11:10 kgiszewski

Here is error snap Kindly click link below to go with error Click here

dksingh605 avatar Oct 07 '17 15:10 dksingh605

i am using latest version of arketype

dksingh605 avatar Oct 07 '17 15:10 dksingh605

I'm not trying to be mean, but if you cannot simply post your issue without using a file or a requiring a login, I will have to close this issue.

kgiszewski avatar Oct 07 '17 16:10 kgiszewski

If you wouldn't mind posting your troublesome label template code and some screenshots we can try to resolve this.

kgiszewski avatar Oct 08 '17 22:10 kgiszewski

@dksingh605 I suggest you to upgrade to 1.17.1 and make sure you don't have any javascript file cached.

I had detected the same problem (with 1.17.0) but now after upgrading to 1.17.1 it's working properly as before

FDBenevides avatar Oct 09 '17 10:10 FDBenevides

Not sure if it's exactly the same issue, but I saw something similar today. Got this error (the important line in a giant stack trace):

Umbraco.Core.Models.DataTypeDefinition ---> System.InvalidOperationException: Could not find property editor with alias RB.DocumentTypePicker

In my case, the issue was because I had deleted most of the remnants of the RB.DocumentTypePicker package, but I forgot to delete the data types in Umbraco that were created from that property editor. Once I deleted the data types, as was well in the world again.

The problem happens on this line in Archetype:

var dataTypes = Services.DataTypeService.GetAllDataTypeDefinitions();

That will attempt to get all configured data types in Umbraco, and it will throw an error if one of them has issues (e.g., if the DLL for it was removed). Strangely, this error only happened on my local when debugging in Visual Studio. When it was deployed with a release build, I did not get an error (maybe it was silently swallowed or something).

In my case, this was not an Archetype issue, but my own fault and more to do with the way the Umbraco core works. I'm not sure if this is the same issue as the OP, but thought I'd mention my experience in case it helps others.

BTW, here's a screenshot of the PDF the OP posted above:

pdf

Hopefully I didn't give myself a virus by opening that :-)

Nicholas-Westby avatar Oct 09 '17 20:10 Nicholas-Westby

Sorry to delay I have upgraded to 1.171 and deployed release mode but still not getting labels.

dksingh605 avatar Oct 11 '17 06:10 dksingh605

Try to clear your caches by setting debug=true in the web.config.

kgiszewski avatar Oct 11 '17 11:10 kgiszewski