プロジェクト

全般

プロフィール

Vote #74986

未完了

File naming of exported custom queries

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
PDF export_39
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
32
issue_org_id:
16207
author_id:
93260
assigned_to_id:
0
comments:
10
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

By now if you export a custom issue query for ex. as a PDF, its named "issues.pdf" which says nothing and is inconvenient to handle. It would be much better to use the custom query name as the filename (whereas spaces are written as underscores). See my attached image as an example we use it would be cool to directly save it as "incidents_of_last_month.pdf".

Just better: Optionally add a date to it "incidents_of_last_month_2014-02-03.pdf".

We use such exports for some partners so this would really make our lifes easier


journals

change including tests attached
--------------------------------------------------------------------------------
see attached file_naming.diff for the resolving code parts. please merge and close this.
--------------------------------------------------------------------------------
You need handle non ASCII filename.
See #16207.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> You need handle non ASCII filename.
> See #16207.

Sorry, it is #16711.
--------------------------------------------------------------------------------
Added fix to handle non ASCII filenames. The new diff file contains the complete change.
--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> Toshi MARUYAMA wrote:
> > You need handle non ASCII filename.
> > See #16207.
>
> Sorry, it is #16711.

Have you seen the fix?

--------------------------------------------------------------------------------
Mathias Nestler wrote:
> Toshi MARUYAMA wrote:
> > Toshi MARUYAMA wrote:
> > > You need handle non ASCII filename.
> > > See #16207.
> >
> > Sorry, it is #16711.
>
> Have you seen the fix?

--------------------------------------------------------------------------------
I modified patch attachment:file_naming2.diff to apply to the trunk.
This patch renames issues.csv, issues.pdf and timelog.csv to custom field name.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Update the patch for r19982.
--------------------------------------------------------------------------------

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

  • カテゴリPDF export_39 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0