プロジェクト

全般

プロフィール

Bug(バグ) #1060

sfImageGeneratorGD generates directory for not-allowed image size (sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう)

Kousuke Ebiharaほぼ14年前に追加. ほぼ14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-05-12
期日:
進捗率:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

Overview (現象)

sfImageGeneratorGD generates directory for not-allowed image size

sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう

Causes (原因)

sfImageGeneratorGD generated a directory by basing original image size if the specified image size is not allowed.

指定された画像サイズが許可されていないものだった場合、 sfImageGeneratorGD が画像の原寸のサイズに従ってディレクトリを作成してしまっていた。

Way to fix (修正内容)

If the specified image size is invalid, the class stores images to directories for raw-sized images, not based original image size.

指定された画像サイズが許可されていないものだった場合には、原寸のサイズを基にせず、原寸の画像を保存するためのディレクトリに画像を出力するように修正した。

関係しているリビジョン

リビジョン 3798b309 (差分)
Kousuke Ebiharaほぼ14年前に追加

fixed sfImageGeneratorGD that decide a filepath by size of the source-image if the specified output-image-size is invalid (fixes #1060)

履歴

#1 Kousuke Ebiharaほぼ14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴 3798b309e86bae4f67650dfb047f1998422e1fc9 で適用されました。

#2 Kousuke Ebiharaほぼ14年前に更新

  • 題名sfImageGeneratorGD generates directory for not-allowed image size から sfImageGeneratorGD generates directory for not-allowed image size (sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう) に変更
  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

他の形式にエクスポート: Atom PDF