일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 라도무스dvd
- 에스가든스냅
- extraParams
- 스냅잘찍음
- LINQ
- c#
- Config
- 명시적외래키
- Store
- JSON
- lazy loading
- extjs
- scanner
- c#코딩의기술실전편
- ORM
- minimalAPI
- 상속
- ViewModel
- vscode
- error
- EFCore
- 코드프로그래머스
- dbContext
- Request
- mac
- 대전본식영상
- React
- .net
- intellij
- JavaScript
- Today
- Total
목록FrontEnd/Ext (24)
ejyoo's 개발 노트
Uncaught RangeError: Maximum call stack size exceeded https://stackoverflow.com/questions/21019260/extjs-uncaught-rangeerror-maximum-call-stack-size-exceeded Extjs Uncaught RangeError: Maximum call stack size exceeded I know that probably somewhere in my code I was so brilliant again that I have managed to write a recursive block of code. But I am enable to find where this is situated. The Chrom..
insert store.insert(0, record); remove store.remove(store.getById(storeItems[i].get('id'))); store.remove(filterItems);
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/ct9Ps9/btrKkJfqiJz/rlGHDrOVgYJcYFF94kZk4K/img.png)
Cannot read properties of undefined (reading 'length') * 발생원인 - initComponent 후 this.callParent(arguments)를 안함. initComponent: function () { // 코드 작성 this.callParent(arguments); }
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/dtQIaV/btrKayy9unh/kLnH2fV1E7TvJy7sI0kBh1/img.png)
발생사례 - layout border로 설정한 뒤 위치 설정할 떄 중복된 region이 존재함.
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/RkZVC/btrKetQ416a/0sTojwAjuvyO9fZEJhXZD1/img.png)
발생 사례 - 오타 - 이름 변경 후 빌드 안돌림.
view 안에 items를 강제로 []로 변경했을 때 extjs 의 내부오류가 발생하였다. 내가 만든 기능은 window에서 버튼을 클릭하여 화면을 2번 변경한 뒤 close를 눌렀을 때 화면이 무한로딩이 걸려서 아무런 동작하지 않는 것 처럼 보였다. 원인을 파악한 결과 close 이벤트가 날라갈때 그 뷰가 갖고 있는 여러 객체를 초기화 시키는데 이때 뭔가 오류가 발생하는 듯했다. 오류 메시지는 안나와서 extjs 디버그를 돌리다가 포기하였다. 코드를 자세히 보니 화면을 변경할 때 view의 items를 초기화 하는부분에서 강제로 []로 변경했었는데. 이게 아이템 주소에서 뭔가를 가져올 수 없어서 오류가 나는듯 하여 view items를 초기화 할 때 extjs에서 만든 function을 사용하여 초기화..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/dfCuGM/btrJ3iIXrt1/yCAqlWC0w1JrvL8rKkiKxk/img.png)
Uncaught TypeError: url.endsWith is not a function 빌드된 파일 중 찾을 수 없는 파일이 존재할 때 발생함. * 발생 경우 - 빌드돌려놓고 ViewModel 삭제 후 다시 빌드하지 않고 Sencha web start 했을 때 발생함. - 파일 새로 생성 후 빌드 안돌림
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/d4rTrQ/btrJ1CAPNIB/wxp4DwjJ6UH0WmwKFazqIk/img.png)
Uncaught TypeError: Cannot set properties of null (setting 'component') ExtJS 에서 이 오류가 뜨는 경우 파일의 define된 경로가 올바른지 확인해야함.
doRequest: function(operation, callback, scope){ // debugger; // var writer = this.getWriter(); // var request = this.buildRequest(operation, callback, scope); // if (operation.allowWrite()) { // request = writer.write(request); // } // Ext.apply(request, { // headers : this.headers, // timeout : this.timeout, // scope : this, // callback : this.createRequestCallback(request, operation, callback..
■■ 문제 : viewModel의 store가 존재하지 않음. ■■ 원인 : extraParams에 bining 된 속성자체가 없음. controller에서 viewModel에 존재하는 store를 load 하려는데 proxy 가 동작을 안했었다. 원인을 파악하려고 크롬 개발자 도구 콘솔에 viewModel의 store를 보니 해당하는 store가 아예 없었다. 코드에는 store가 존재하는데 말이다. 이번 경우의 원인은 viewModel의 store에 있는 extraParams의 Binding 걸려있는 속성의 값이 없는데, 이 것을 Binding 하려고 하니 ext 내부에서 오류를 발생시킨것 같다. ext 내부에서 오류를 발생을 하였지만, 개발다 도구 콘솔에 찍히지 않으므로 extjs 에 익숙하지 않는..