[Collaboa] trunk state

Esad Hajdarevic esad.public at esse.at
Tue Feb 21 21:59:02 GMT 2006


It's there. Actually I upgrade the working collaboa (r477) with 
projects, repositories and everything.
Everything worked nice in revision 477.

When I go to Admin/Repositories I get "Following error has occured:" and 
no error is display. Log file:

ActionView::TemplateError (undefined method `name_before_type_cast' for 
ActionSubversion::Base:Class) on line #12 of 
app/views/admin/repositories/_form.rhtml:
9:   <legend><%= params[:action] == 'edit' ? 'Edit' : 'Create' -%>new 
repository reference</legend>
10:
11:   <label class="first">Name:
12:   <%= text_field 'repository', 'name' -%></label>
13:
14:   <label>Path:
15:   <%= text_field 'repository', 'path', :id => 'path' -%></label>

    #{RAILS_ROOT}/app/models/repository.rb:12:in `send'
    #{RAILS_ROOT}/app/models/repository.rb:12:in `method_missing'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:253:in 
`send'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:253:in 
`value_before_type_cast'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:168:in 
`to_input_field_tag'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:76:in 
`text_field'
    #{RAILS_ROOT}app/views/admin/repositories/_form.rhtml:12



Greetings,

Esad

Tom Clarke wrote:

>hmm.. you might need to create a repository in the admin and select it
>in your project.
>
>-Tom
>
>On 2/21/06, Esad Hajdarevic <esad.public at esse.at> wrote:
>  
>
>>Tom Clarke wrote:
>>
>>    
>>
>>>What's the full stacktrace?
>>>
>>>
>>>      
>>>
>>NoMethodError (undefined method `changes' for #<Project:0x40874540>):
>>
>>/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1501:in
>>
>>`method_missing'
>>    app/controllers/events_controller.rb:9:in `index'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in
>>
>>`send'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in
>>
>>`perform_action_without_filters'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in
>>
>>`perform_action_without_benchmark'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in
>>
>>`perform_action_without_rescue'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in
>>
>>`measure'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in
>>
>>`perform_action_without_rescue'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in
>>
>>`perform_action'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in
>>
>>`send'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in
>>
>>`process_without_session_management_support'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in
>>
>>`process'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
>>`dispatch'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in
>>`process_request'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in
>>`process!'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
>>`each_cgi'
>>    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'
>>    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
>>`each_cgi'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
>>`process!'
>>
>>/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in
>>`process!'
>>
>>
>>    
>>
>>>Johan is the actionsubversion expert, however taking a wild guess
>>>could you be using subversion 1.2? Trunk only works against >1.3
>>>
>>>
>>>      
>>>
>>svn, version 1.3.0 (r17949)
>>   compiled Jan  7 2006, 21:41:36
>>
>>Esad
>>
>>
>>
>>_______________________________________________
>>Collaboa-talk mailing list
>>Collaboa-talk at lists.collaboa.org
>>http://lists.collaboa.org/mailman/listinfo/collaboa-talk
>>
>>    
>>
>_______________________________________________
>Collaboa-talk mailing list
>Collaboa-talk at lists.collaboa.org
>http://lists.collaboa.org/mailman/listinfo/collaboa-talk
>  
>



More information about the Collaboa-talk mailing list