ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Reposman script problem (Bug #927)
Description
The Project class used to be defined (round about line 190+) as:
class Project < ActiveResource::Base
self.headers["User-agent"] = "Redmine repository manager/#{Version}"
self.format = :xml
end
However the :ml format setting has gone (at least in 3.0.0) which has the effect that the script barfs on XML returned from /sys. The fix (in our environment using subversion etc) is to revert to the above definition.
Associated revisions
- Japanese (Satoru Kurashiki)
- Simplified Chinese (chaoqun zou)
- Danish (kim madsen)
- Norwegian (Kai Olav Fredriksen)
- Traditional Chinese (shortie lo)
- German (Sven Schuchmann)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1300 e93f8b46-1217-0410-a6f0-8f06a7374b81
History
Updated by Simon Stearn at 2012-03-09 12:31 pm
Sorry, last line should read -
However the :xml format setting has gone (at least in 3.0.0) which has the effect that the script barfs on XML returned from /sys. The fix (in our environment using subversion etc) is to revert to the above definition.
Updated by Felix Schäfer at 2012-03-15 11:56 pm
Hello Simon,
I can't find anywhere in the near history that that line was ever present, could you point me to your source?
Updated by Simon Stearn at 2012-03-26 04:03 pm
Felix
Sorry for the slow reply. I am not 100% on exactly what I was looking at when I worked on this. I suspect I was actually looking at redmine repository which of course will be different. Checkout line 195 here:
http://www.redmine.org/projects/redmine/repository/entry/branches/1.3-stable/extra/svn/reposman.rb
Updated by Felix Schäfer at 2012-03-27 10:53 am
I've been able to reproduce this in an IRB session and have merged the fix from Redmine, thanks for reporting!
Committed in 20a7912
- Target version set to 3.1.0
- Status changed from Open to Closed