U4-6281 - Archetype control not displaying in Umbraco backoffice

Created by Dhiren 16 Feb 2015, 06:31:45 Updated by Jesse Andrews 17 Aug 2016, 22:01:52

There is a weird situation in our project. We have integrated Archetype in our umbraco backoffice. In our development environment we are able to see archetype control in backoffice. But when we deploy same code in our staging environment, we are not able to see archetype controls in backoffice.

Then we copied same code our existing staging site and created one more site using it on staging environment, in that site archetype's controls are visible in backoffice.

We have verified config files, all settings are same in both site. One thing we noticed is, when archetype is not displayed on site, some javascript error comes which is as below:

Error: Multiple directives [archetypeCustomView, ngController] asking for isolated scope on:

Summary: Local site - Archetype visible Staging site1 - Archetype not visible Staging site2 - Archetype visible UAT site - Archetype visible Live site - Archetype not visible

Please help on this as we are going live by next week, and if archetype is not visible then client will not be able to update content.

Thanks in advance.

Comments

Jesse Andrews 17 Aug 2016, 22:01:52

I also encountered this error in version 7.4.3. I did find a fix for my problem though. The issue was that I had referenced the archetype script as a required script in the package manifest for a custom plugin I built. I suspect the issue was that archetype.js was loaded twice by the dependency handler.


Priority: Major

Type: Bug

State: Submitted

Assignee: Shannon Deminick

Difficulty: Difficult

Category: Editor

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.4

Due in version:

Sprint:

Story Points:

Cycle: