A restricted type is displayed under the Suggested Block Types list using the ContentArea link
Found in
EPiServer.CMS.UI 8.0.0
Created
Mar 17, 2015
Updated
Apr 10, 2015
Area
Falcon/CMS/Edit UI/Editing
State
Closed, Fixed and Tested
Steps to reproduce
Steps to reproduce
- Add AllowedTypes attribute to content area of Standard page, e.g. [AllowedTypes(new[] { typeof(BlockData) })]
- Create new a Standard page > Click the link 'create a new block' on the content area then create a new Editorial block
- Edit the AllowedTypes attribute above to restrict an Editorial block to the content area, i.e. [AllowedTypes(new[] { typeof(BlockData) }, new[] { typeof(EditorialBlock)})]
- Open the page again and click on the link 'create a new block'
Expected: Editorial block should not be displayed in the block list for selecting due to restricting
Actual: Editorial block is displayed under the Suggested Block Types list even we delete caches