プロジェクト

全般

プロフィール

Vote #63414

完了

Bad rendering on projects/add

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

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

0%

予定工数:
category_id:
10
version_id:
4
issue_org_id:
1436
author_id:
993
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

  • Go to /projects/add (must be admin) (note that the page has no title)
  • Enter only in the form
  • Click save button

Error are reported and the page is scrambled. Observed on Firefox 2 and 3.

A workaround is to replace this line of app/views/layouts/base.rhtml

<%= h(@project ? @project.name : Setting.app_title) %>


by this one

<%= h((@project and !@project.name.blank?) ? @project.name : Setting.app_title) %>


journals

* Enter only in the form
is
* Enter only a name in the form
--------------------------------------------------------------------------------
I couldn't reproduce the problem. But the page has no title indeed, when adding a new project.
I've applied a different fix in r1526 (display the project name only after it was saved).
Can you confirm it's OK ?
--------------------------------------------------------------------------------
r1526 solved this issue.
--------------------------------------------------------------------------------
Thanks.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン0.7.2_4 にセット

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

いいね!0
いいね!0