プロジェクト

全般

プロフィール

Vote #81002

未完了

Tags "updated" in issues atom are "created on"

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
18
version_id:
32
issue_org_id:
33829
author_id:
28393
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
160
ステータス-->[New]

説明

There are updated tags in the Atom of issues list.
However, the created on is exported.

I have attached a patch to fix this.


journals

This issue is reported in following Japanese forum.
https://groups.google.com/forum/#!topic/redmine-users-ja/wb78I8uVJEY
--------------------------------------------------------------------------------
I'm sorry, attachment:"patch.diff" breaks Redmine rake test.
It breaks activity view items.
Please reject the patch.
--------------------------------------------------------------------------------
I think this problem only affects the atom of issues list.
There are **updated** tags created by **issue.event_datetime**.
But **issue.event_datetime** is **created_on**.
I think you need to use **updated_on** for the atom of issue list.

I re-create the patches for this issue.
In the first pattern, **issue_controller** overwrites **issue.event_datetime** between atom exports.
The second pattern, **application_controller.rb** and **common/feed.atom.builder**, adds the code for the problem list atom.

Both work, but I don't think it's clean code.
I'll attach both patches in the hope that it will help you think about better code.
--------------------------------------------------------------------------------

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

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

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0