Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7831

Page management - Angular js errors when user attempts to create a page with a name that already exists with different URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 2.26.00
    • Fix Version/s: 2.26.00
    • Component/s: channel-manager
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 76

      Description

      1. Login as admin/editor
      2. Navigate to Channel manager >> my project >> edit channel >> pages
      3. Click on add new page
      4. In page title add "about" (this already exists)
      5. change the URL to abouttest
      6. Click create page button

      Expected - The page should not be created or a warning should be shown that same name page already exists. User should not be allowed to proceed with this changes
      Actual - The new page is created successfully, in browser console below errors are shown

      Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: [["fn: $locationWatch; newVal: 9; oldVal: 8"],["fn: $locationWatch; newVal: 10; oldVal: 9"],["fn: $locationWatch; newVal: 11; oldVal: 10"],["fn: $locationWatch; newVal: 12; oldVal: 11"],["fn: $locationWatch; newVal: 13; oldVal: 12"]] http://errors.angularjs.org/1.2.14-build.2302+sha.f827d64/$rootScope/infdig?p0=10&p1=%5B%5B%22fn%3A%20%24locationWatch%3B%20newVal%3A%209%3B%20oldVal%3A%208%22%5D%2C%5B%22fn%3A%20%24locationWatch%3B%20newVal%3A%2010%3B%20oldVal%3A%209%22%5D%2C%5B%22fn%3A%20%24locationWatch%3B%20newVal%3A%2011%3B%20oldVal%3A%2010%22%5D%2C%5B%22fn%3A%20%24locationWatch%3B%20newVal%3A%2012%3B%20oldVal%3A%2011%22%5D%2C%5B%22fn%3A%20%24locationWatch%3B%20newVal%3A%2013%3B%20oldVal%3A%2012%22%5D%5D minErr/<@http://localhost:8080/cms/angular/components/angular/angular.js:78 Scope.prototype.$digest@http://localhost:8080/cms/angular/components/angular/angular.js:11909 Scope.prototype.$apply@http://localhost:8080/cms/angular/components/angular/angular.js:12116 ngEventDirectives[directiveName]</<.compile/</<@http://localhost:8080/cms/angular/components/angular/angular.js:18026 x.event.dispatch@http://localhost:8080/cms/angular/components/jquery/jquery.min.js:5 x.event.add/v.handle@http://localhost:8080/cms/angular/components/jquery/jquery.min.js:5

        Attachments

          Activity

            People

            • Assignee:
              jsheriff Junaidh Kadhar Sheriff
              Reporter:
              jsheriff Junaidh Kadhar Sheriff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: