Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5941

Example page contains console errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The errors seem to not influence the functionality, but we should look at what is the cause here:

       Error: [$interpolate:interr] Can't interpolate: ,
                 {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }}: {
                    {{ exampleCtrl.projectNumber(exampleCtrl.variant) }}
                    variantID: 
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%2C%0A%20%20%20%2…3A%20&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      modules.5b5791b7.js:7 Error: [$interpolate:interr] Can't interpolate: 
      // ../www/push-config.json
      {
        "pushServerURL": "{{ exampleCtrl.currentLocation }}",
        {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }} : {
          {{ exampleCtrl.projectNumberJson(exampleCtrl.variant) }}
          "variantID": "{{ exampleCtrl.variant.variantID }}",
          "variantSecret": "{{ exampleCtrl.variant.secret }}"
        }
      }
       
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%0A%2F%2F%20..%2F…7D%0A&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      modules.5b5791b7.js:7 Error: [$interpolate:interr] Can't interpolate: ,
                 {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }}: {
                    {{ exampleCtrl.projectNumber(exampleCtrl.variant) }}
                    variantID: 
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%2C%0A%20%20%20%2…3A%20&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      modules.5b5791b7.js:7 Error: [$interpolate:interr] Can't interpolate: 
      // ../www/push-config.json
      {
        "pushServerURL": "{{ exampleCtrl.currentLocation }}",
        {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }} : {
          {{ exampleCtrl.projectNumberJson(exampleCtrl.variant) }}
          "variantID": "{{ exampleCtrl.variant.variantID }}",
          "variantSecret": "{{ exampleCtrl.variant.secret }}"
        }
      }
       
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%0A%2F%2F%20..%2F…7D%0A&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      modules.5b5791b7.js:7 Error: [$interpolate:interr] Can't interpolate: ,
                 {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }}: {
                    {{ exampleCtrl.projectNumber(exampleCtrl.variant) }}
                    variantID: 
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%2C%0A%20%20%20%2…3A%20&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      modules.5b5791b7.js:7 Error: [$interpolate:interr] Can't interpolate: 
      // ../www/push-config.json
      {
        "pushServerURL": "{{ exampleCtrl.currentLocation }}",
        {{ exampleCtrl.cordovaVariantType(exampleCtrl.variant) }} : {
          {{ exampleCtrl.projectNumberJson(exampleCtrl.variant) }}
          "variantID": "{{ exampleCtrl.variant.variantID }}",
          "variantSecret": "{{ exampleCtrl.variant.secret }}"
        }
      }
       
      TypeError: Cannot read property 'type' of undefined
      http://errors.angularjs.org/1.2.26/$interpolate/interr?p0=%0A%2F%2F%20..%2F…7D%0A&p1=TypeError%3A%20Cannot%20read%20property%20'type'%20of%20undefined
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:4:31558
          at Object.fn (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:7:12268)
          at Scope.$digest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:6653)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:8:8735
          at completeOutstandingRequest (http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:5:29214)
          at http://localhost:8080/ag-push/scripts/modules.5b5791b7.js:6:146
      

      Originally reported in https://github.com/aerogear/aerogear-unifiedpush-server/pull/453#issuecomment-66263871

            lfryc Lukáš Fryč (Inactive)
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: