Wrong date for attachments versions in Confluence 4.5.x

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

After upgrading Confluence from 2.7 to 4.5.3, the attachments versions are all shown with the creation date of the first version.

原因

In Confluence 2.7 both Creation Date and Last Mod Date were shown.

Upgrading to a newer version makes Confluence show just the the creation date (of the first version) instead of the last modification date.

回避策

データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。

A simple query should change that:

UPDATE ATTACHMENTS SET creationdate = lastmoddate;

By doing that, we are replacing the creationdate to lastmoddate content, which will make confluence pick the correct values.

最終更新日 2016 年 4 月 11 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.