プロジェクト

全般

プロフィール

Vote #72697

完了

Missing tmp/pdf directory

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
PDF export_39
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
59
issue_org_id:
12189
author_id:
65472
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
53
ステータス-->[Closed]

説明

There is no tmp/pdf directory in default bungle. And it cause the following error during pdf export:

Started GET "/issues/2214.pdf" for 217.73.199.113 at Tue Oct 23 13:11:54 +0400 2012
Processing by IssuesController#show as PDF
  Parameters: {"id"=>"2214"}
  Current user: ac (id=171)
Completed 500 Internal Server Error in 186ms

Errno::EACCES (Permission denied - /opt/redmine-2.1.2/tmp/pdf):
  lib/redmine/export/pdf.rb:39:in `initialize'
  lib/redmine/export/pdf.rb:499:in `new'
  lib/redmine/export/pdf.rb:499:in `issue_to_pdf'
  app/controllers/issues_controller.rb:121:in `show'
  app/controllers/issues_controller.rb:114:in `show'

Solution is just a creation of /tmp/pdf


journals

--------------------------------------------------------------------------------
I have added tmp/pdf to Subversion r10702, r10703 and r10704.

Redmine will make tmp/pdf directory if it does not exist.
source:tags/2.1.2/lib/redmine/export/pdf.rb#L38
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,32924,tmp/pdf directory is no longer necessary

Admin Redmine さんが約4年前に更新

  • カテゴリPDF export_39 にセット
  • 対象バージョン2.1.3_59 にセット

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

いいね!0
いいね!0