2017-01-05 9 views
0

많은 중첩 된 뷰가 포함 된 하위를 사용하여 상태를 추상 상태로 재구성하고 있습니다.AngularJS의 UI-Router를 사용하여 추상 상태의 자식을 상태로 리디렉션하면 인터콤 오류가 발생합니다.

oldState를 보존해야하며 내 목표는 oldState에 대한 참조를 'app.newState.home'으로 리디렉션하는 것입니다.

현재 사용하고있는 (redirectTo, Redirect a state to default substate with UI-Router in AngularJS 사용) 아래의 다른 구현은 다른 추상 상태의 자식 상태로 리디렉션한다는 측면에서 작동합니다.

https://api-iam.intercom.io/ping/events 422 (Unprocessable Entity) [{"code":"422","message":"Cannot have more than 120 active event names"}]}

.state('app.oldState', { 
    url: '/oldState', 
    redirectTo: 'app.newState.home', 
}) 

.state('app.newState', { 
    url: '/oldState', 
    // abstract: true, 
    templateUrl: helper.basepath('anotherTemplate'), 
    resolve: helper.resolveFor('datatables','easypiechart','ngDialog','angularFileUpload', 'filestyle', 'taginput'), 
}) 


.state('app.newState.home', { 
    url: '', 
    views: { 
    'firstView':{ 
     templateUrl: helper.basepath('templateOne'), 
     controller: 'ControllerOne' 
    }, 
    'secondView':{ 
     templateUrl: helper.basepath('templateTwo'), 
     controller: 'ControllerOne' 
    }, 
    'thirdView':{ 
     templateUrl: helper.basepath('templateThree'), 
     controller: 'ControllerOne' 
    }, 
    'fourthView':{ 
     templateUrl: helper.basepath('templateFour'), 
     controller: 'ControllerTwo' 
    }, 
    } 
}) 

왜이 오류가 발생되고 있으며 어떻게 제대로이 문제를 해결할 수 있습니다 ??? : -하지만 전은 세그먼트 분석에서이 오류가

답변

1

인터콤은 최대 120 개의 이벤트 이름을 허용합니다. 여기에 "보낼 수있는 이벤트 유형 수에 제한이 있습니까?"라는 제목 아래 https://docs.intercom.com/the-intercom-platform/track-events-in-intercom 에 설명되어 있습니다.

설명서에는 이벤트를 "보관"하는 방법에 대해서도 설명되어 있습니다.이 경우 한도가 다시 한 번 도달 할 때까지이 상황을 해결할 수 있습니다.