By default, we use separate site globes to handle design elements that require URLs (ie - javascript, CSS, Parse files etc).
These are setup using an extension of the primary site URL:
- Primary site URL: www.site.com
- Design URL: www.site.com/designs
The assets in the Designs globe don't require paint layouts, in fact it's best if they don't have any, but just recently we've noticed that these assets are inheriting a paint layout.
It took a little while to figure out why this was happening, but it appears that any sub-sites that share the same (sub)domain as the primary site automatically inherit its paint layout. In other words, the site at www.site.com/designs will automatically inherit the paint layout applied to www.site.com.
To make things more frustrating, there's no way to delete that paint layout from the sub-site once it's been inherited. All we can do is create a blank paint layout and apply it as an override - which is pretty clumsy.
Is this a bug, or expected behaviour? If the latter, is there a specific reason for it? And finally, is there a more elegant way of handling this?