Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3318

Alias coding bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.3, 3.3
    • 3.2.2, 3.3
    • None
    • None

      Maybe I did not understood the code, but I think there is a code problem for the alias:

      Currently for each alias in the db we do the following :

      // Check if the alias url is not the url of an existing page in sitemap
      if (_isPageURL(siteName, alias))
      {
          // ignore alias
          continue;
      }
      

      and this function, checks if the alias url equals a page url!

      I think this should be : if the asked url is a page url (independantly of the alias), we should skip aliases

      (as aliases are working on every url, this should be enhanced)

            cedric Cédric Damioli
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: