Uploaded image for project: 'Cubby'
  1. Cubby
  2. CUBBY-215

selectタグのitemsがnullの場合適切な例外メッセージを投げるようにする

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0-beta2
    • None
    • Core
    • None

    Description

      http://d.hatena.ne.jp/shin/20090327/p1より

      itemsを入力ミス等するとヌルポがでる。181行目あたりから始まる文で。たしかに、nullの場合ここにたどり着く。そしてヌルポだとあまりにも原因が分かりにくいのでdoTagの頭でitemsがnullならばitemsの入力ミスの可能性があるよ!という分かりやすいエラーをさっさと投げてあげたほうが良いと思う。

      Attachments

        Activity

          People

            Unassigned Unassigned
            agata agata
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: