Ticket #577 (closed defect: fixed)

Opened 23 months ago

Last modified 23 months ago

첫번째 태그에 키워드 설명 연결 아이콘이 뜸

Reported by: inureyes Owned by: inureyes
Priority: major Milestone: 1.5.1
Component: Plugins Version: 1.5
Keywords: keyword, plugin Cc:
Release:

Description

키워드 플러그인의 동작을 체크해야 함.

Change History

  Changed 23 months ago by lunamoth

해당 플러그인을 비활성화했습니다. http://forum.tattersite.com/ko/viewtopic.php?pid=20491#p20491 에 관련 내용 다시 올렸습니다.

  Changed 23 months ago by graphittie

  • owner changed from inureyes to graphittie
  • status changed from new to assigned

follow-up: ↓ 4   Changed 23 months ago by graphittie

  • [4272]
  • array_search를 확실한 boolean을 돌려주는 in_array()로 변경.
  • if(in_array($tag,$keywordNames) == true) 절에 문제가 있는 듯이 보이는데 특이점은 첫번째 태그만 오류가 있다는 점. 이것은 $tag를 포함하고 있는 $target(태그 배열)의 첫번째 엘리먼트에 문제가 있다는 의미임. 그러나 트래킹 결과 $tag 리스트를 생성하는 getTags()에서 특별한 문제를 발견하지 못함.
  • 따라서 보다 명확하게 true/false를 돌려주는 in_array를 사용하도록 시도.

in reply to: ↑ 3   Changed 23 months ago by graphittie

Replying to graphittie:

if(in_array($tag,$keywordNames) == true) 절에 문제가 있는 듯이 보이는데

if(in_array($tag,$keywordNames) == true)이 아니고 if(array_search($tag,$keywordNames) !== false)임. ㅡㅡ;;

  Changed 23 months ago by graphittie

  • owner changed from graphittie to inureyes
  • status changed from assigned to new

교주님 최종 체크를...

  Changed 23 months ago by inureyes

이 부분은 그게 문제가 아닙니당

  Changed 23 months ago by inureyes

http://dev.textcube.org/ticket/596#comment:7 를 통하여 이 문제를 수정하였습니다.

  Changed 23 months ago by inureyes

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.