'priority'에 해당되는 글 1건

  1. 2009.08.22 카테고리 오류 원인
카테고리 오류가 어마어마해서 도저히 손을 댈 엄두가 나지 않았다.  다음에 메일을 보내기는 했는데 언제 고쳐줄지 알 수가 없었다.  하필 헝클어진 카테 속에 프랑스어와 헝가리어, 터키어가 들어가 있었다.  저 세 카테는 멀티라이브러리에서 가장 많은 글을 차지한다.  50% 정도 저 카테들이 차지하고 있다.

일단 데이터 백업을 했다.  이렇게 하면 무엇이 문제인지 알 수 있을 것 같기도 했다.

혹시나는 역시나였다.

+ <category>
  <name>그루지아어</name>
  <priority>2</priority>
- <category>
  <name>그루지아어 종합자료</name>
  <priority>3</priority>
  </category>
- <category>
  <name>그루지아어 문법</name>
  <priority>4</priority>
  </category>
- <category>
  <name>그루지아어 어휘</name>
  <priority>5</priority>
  </category>
- <category>
  <name>그루지아어 숙어, 관용어</name>
  <priority>6</priority>
  </category>
- <category>
  <name>그루지아어 언론</name>
  <priority>7</priority>
  </category>
  </category>
- <category>
  <name>노르웨이어</name>
  <priority>8</priority>
- <category>
  <name>노르웨이어 종합자료</name>
  <priority>9</priority>
  </category>
- <category>
  <name>노르웨이어 문법</name>
  <priority>10</priority>
  </category>
- <category>
  <name>노르웨이어 어휘</name>
  <priority>11</priority>
  </category>
- <category>
  <name>노르웨이어 숙어, 관용어</name>
  <priority>12</priority>
  </category>
- <category>
  <name>노르웨이어 언론</name>
  <priority>13</priority>
  </category>
  </category>

여기에서 중요한 부분은 <priority></priority>였다.  바로 이 부분에서 에러가 나는 것이었다.  게시판과 카테고리가 늦게 생기는 이유도 대충 이해가 되었다. 이걸 전부 수정하고 있으니 당연히 시간이 오래 걸리는 것이었다.  문제가 된 부분에서는 역시 이 <priority></priority>에서 문제가 발생했다.

- <category>
  <name>크로아티아어</name>
  <priority>276</priority>
- <category>
  <name>크로아티아어 종합자료</name>
  <priority>277</priority>
  </category>
- <category>
  <name>크로아티아어 문법</name>
  <priority>278</priority>
  </category>
- <category>
  <name>크로아티아어 어휘</name>
  <priority>279</priority>
  </category>
- <category>
  <name>크로아티아어 숙어, 관용어</name>
  <priority>280</priority>
  </category>
- <category>
  <name>크로아티아어 언론</name>
  <priority>281</priority>
  </category>
  </category>
- <category>
  <name>터키어</name>
  <priority>281</priority>
- <category>
  <name>터키어 종합자료</name>
  <priority>282</priority>
  </category>
- <category>
  <name>터키어 문법</name>
  <priority>283</priority>
  </category>
- <category>
  <name>터키어 어휘</name>
  <priority>284</priority>
  </category>
- <category>
  <name>터키어 숙어, 관용어</name>
  <priority>285</priority>
  </category>
- <category>
  <name>터키어 언론</name>
  <priority>286</priority>
  </category>
  </category>
- <category>
  <name>카자흐어</name>
  <priority>282</priority>
- <category>
  <name>카자흐어 숙어, 관용어</name>
  <priority>280</priority>
  </category>
- <category>
  <name>카자흐어 종합자료</name>
  <priority>283</priority>
  </category>
- <category>
  <name>카자흐어 문법</name>
  <priority>284</priority>
  </category>
- <category>
  <name>카자흐어 어휘</name>
  <priority>285</priority>
  </category>
- <category>
  <name>카자흐어 언론</name>
  <priority>287</priority>
  </category>
  </category>
- <category>
  <name>톡피진어</name>
  <priority>287</priority>
- <category>
  <name>톡피진어 종합자료</name>
  <priority>288</priority>
  </category>
- <category>
  <name>톡피진어 문법</name>
  <priority>289</priority>
  </category>
- <category>
  <name>톡피진어 어휘</name>
  <priority>290</priority>
  </category>
- <category>
  <name>톡피진어 언론</name>
  <priority>291</priority>
  </category>
- <category>
  <name>톡피진어 숙어, 관용어</name>
  <priority>292</priority>
  </category>
  </category>
- <category>
  <name>쿠르드어</name>
  <priority>288</priority>
- <category>
  <name>쿠르만지 쿠르드어 종합자료</name>
  <priority>289</priority>
  </category>
- <category>
  <name>쿠르만지 쿠르드어 문법</name>
  <priority>290</priority>
  </category>
- <category>
  <name>쿠르만지 쿠르드어 어휘</name>
  <priority>291</priority>
  </category>
  </category>
- <category>
  <name>파슈토어</name>
  <priority>293</priority>
- <category>
  <name>파슈토어 문법</name>
  <priority>294</priority>
  </category>
- <category>
  <name>파슈토어 어휘</name>
  <priority>295</priority>
  </category>
- <category>
  <name>파슈토어 언론</name>
  <priority>296</priority>
  </category>
- <category>
  <name>파슈토어 숙어, 관용어</name>
  <priority>297</priority>
  </category>
- <category>
  <name>파슈토어 종합자료</name>
  <priority>298</priority>
  </category>
  </category>
- <category>
  <name>하우사어</name>
  <priority>299</priority>
- <category>
  <name>하우사어 종합자료</name>
  <priority>300</priority>
  </category>
- <category>
  <name>하우사어 문법</name>
  <priority>301</priority>
  </category>
- <category>
  <name>하우사어 어휘</name>
  <priority>302</priority>
  </category>
- <category>
  <name>하우사어 숙어, 관용어</name>
  <priority>303</priority>
  </category>
- <category>
  <name>하우사어 언론</name>
  <priority>304</priority>
  </category>
  </category>
- <category>
  <name>헝가리어</name>
  <priority>302</priority>
- <category>
  <name>헝가리어 종합자료</name>
  <priority>303</priority>
  </category>
- <category>
  <name>헝가리어 문법</name>
  <priority>304</priority>
  </category>
- <category>
  <name>헝가리어 어휘</name>
  <priority>305</priority>
  </category>
- <category>
  <name>헝가리어 숙어, 관용어</name>
  <priority>306</priority>
  </category>
- <category>
  <name>헝가리어 언론</name>
  <priority>307</priority>
  </category>
  </category>
- <category>
  <name>폴란드어</name>
  <priority>305</priority>
- <category>
  <name>폴란드어 문법</name>
  <priority>301</priority>
  </category>
- <category>
  <name>폴란드어 어휘</name>
  <priority>302</priority>
  </category>
- <category>
  <name>폴란드어 언론</name>
  <priority>303</priority>
  </category>
- <category>
  <name>폴란드어 숙어, 관용어</name>
  <priority>304</priority>
  </category>
- <category>
  <name>폴란드어 종합자료</name>
  <priority>306</priority>
  </category>
  </category>
- <category>
  <name>프랑스어</name>
  <priority>305</priority>
- <category>
  <name>프랑스어 문법</name>
  <priority>292</priority>
  </category>
- <category>
  <name>프랑스어 어휘</name>
  <priority>293</priority>
  </category>
- <category>
  <name>프랑스어 숙어, 관용어</name>
  <priority>294</priority>
  </category>
- <category>
  <name>프랑스어 언론</name>
  <priority>295</priority>
  </category>
- <category>
  <name>프랑스어 종합자료</name>
  <priority>306</priority>
  </category>
  </category>
- <category>
  <name>기획, 개발, 운영</name>
  <priority>308</priority>


보면 딱 보인다. <priority></priority> 부분이 엉망이다.  숫자가 중복되고 순서도 엉망이다.  이러니 당연히 오류가 생기고 카테고리 순서가 뒤죽박죽 엉망이 되지...
 
 원인은 찾았는데 해결방안을 모르겠다.  다음에서 해줄 때까지 기다려야 하나?
글쓴이: 활활이