Merged r10709 from trunk to 1.4-stable (#12196)
fix "Page not found" on OK button in SCM "View all revisions" page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10711 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
5210b58226
commit
83b356484a
3 files changed
+18
-1
No files matched your search
@@ -1,7 +1,8 @@
|
|||||||
<div class="contextual">
|
<div class="contextual">
|
||||||
<% form_tag(
|
<% form_tag(
|
||||||
{:action => 'revision', :id => @project,
|
{:action => 'revision', :id => @project,
|
||||||
:repository_id => @repository.identifier_param}
|
:repository_id => @repository.identifier_param},
|
||||||
|
:method => :get
|
||||||
) do %>
|
) do %>
|
||||||
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
|
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 8 %>
|
||||||
<%= submit_tag 'OK' %>
|
<%= submit_tag 'OK' %>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ http://www.redmine.org/
|
|||||||
* Defect #11541: Version sharing is missing in the REST API
|
* Defect #11541: Version sharing is missing in the REST API
|
||||||
* Defect #11789: Edit section links broken with h5/h6 headings
|
* Defect #11789: Edit section links broken with h5/h6 headings
|
||||||
* Defect #12189: No tmp/pdf directory
|
* Defect #12189: No tmp/pdf directory
|
||||||
|
* Defect #12196: "Page not found" on OK button in SCM "View all revisions" page
|
||||||
* Feature #11338: Exclude emails with auto-submitted => auto-generated
|
* Feature #11338: Exclude emails with auto-submitted => auto-generated
|
||||||
* Patch #9732: German translations
|
* Patch #9732: German translations
|
||||||
* Patch #11328: Fix Japanese mistranslation for 'label_language_based'
|
* Patch #11328: Fix Japanese mistranslation for 'label_language_based'
|
||||||
|
|||||||
@@ -547,6 +547,21 @@ class RepositoriesGitControllerTest < ActionController::TestCase
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_revisions
|
||||||
|
assert_equal 0, @repository.changesets.count
|
||||||
|
@repository.fetch_changesets
|
||||||
|
@project.reload
|
||||||
|
assert_equal NUM_REV, @repository.changesets.count
|
||||||
|
get :revisions, :id => PRJ_ID
|
||||||
|
assert_response :success
|
||||||
|
assert_template 'revisions'
|
||||||
|
assert_tag :tag => 'form',
|
||||||
|
:attributes => {
|
||||||
|
:method => 'get',
|
||||||
|
:action => '/projects/subproject1/repository/revision'
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
def test_revision
|
def test_revision
|
||||||
assert_equal 0, @repository.changesets.count
|
assert_equal 0, @repository.changesets.count
|
||||||
@repository.fetch_changesets
|
@repository.fetch_changesets
|
||||||
|
|||||||
Reference in new issue
Block a user