プロジェクト

全般

プロフィール

Vote #72012

完了

Wiki-page section edit link can point to incorrect section

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

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

0%

予定工数:
category_id:
1
version_id:
52
issue_org_id:
11133
author_id:
57568
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
50
ステータス-->[Closed]

説明

When headers in a wiki page are preceded by a line with one space (instead of an empty line), the section edit links edit the wrong section of the section of the page.
This is present in versions 1.4.1 and 2.0.2 of Redmine.

With the example content, four h1. sections are created.
The links point to the correct url (e.g. link to edit chapter 3 point to ?section=3)
The content shown in the edit page however, does not correctly respond to the section.
Clicking the edit link for Chapter 2 will edit Chapter 2 and 3.
Editing Chapter 3 will edit Chapter 4.

Headers may have to be separated by empty lines, but if an accidental space is present on such a line, it is not at all clear to the user why section editing does not work correctly.

To reproduce:

  • Create an wiki page with the content provided in the attachment (Note the added space above the line 'h1. Chapter 3')
  • Save page
  • Click on the several section-edit icons

journals

--------------------------------------------------------------------------------
Fixed in r9822.
--------------------------------------------------------------------------------
Merged in 1.4 and 2.0.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,11189,"Edit this section" sometimes does't work

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

  • カテゴリWiki_1 にセット
  • 対象バージョン2.0.3_52 にセット

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

いいね!0
いいね!0