Project

General

Profile

Bug #2189

Incorrect page definition

Added by Vasily Bezruchkin about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Core
Target version:
Start date:
July 13, 2015
Due date:
% Done:

100%

Estimated time:

Description

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.

History

#1

Updated by Batyr Mackenov about 5 years ago

  • Status changed from New to Feedback

This needs to be discussed

#2

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')));

ia.core.view.php

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

#3

Updated by Batyr Mackenov about 5 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Fixed.

commit:39cc3df

Also available in: Atom PDF