Incorrect page definition
Let's say you created a category in directory package. Name 'collection'. Then you create a new page with external URL that links to 'collection' URL with the same name = 'collection'. As a result we get a page, not category. We have page collection created by subrion, though it should be a static link.
Updated by Vasily Bezruchkin about 5 years ago
$where = iaDb::printf("p.`name` = ':alias' OR p.`alias` = ':alias:extension' OR p.`alias` LIKE ':alias/%'", array('alias' => $pageName, 'extension' => $this->get('extension')));
Do we really need to check for name? Probably we only need to validate aliases in this case. Otherwise it might add some conflicts similar to subject. Discuss