Closed patrek closed 12 years ago
Hi patrek,
I appreciate your feedback. I'll check it out as soon as possible and keep you up to date.
Thanks!
Patrek,
I uploaded a patch that solves the Nuxeo compatibility issue. Please, give it a try as you can, and let me know if you find any other issue.
Regards!
The patch work as expected. Thanks.
I'll probably send a French translation pull request soon.
Having other suggestions as well, will keep you posted.
Glad it worked :) That translation would be great, we're looking forward it!
Regards!
Thanks for your work.
Trying to use the plugin to connect to a Nuxeo instance. (you can use http://cmis.demo.nuxeo.com/nuxeo/atom/cmis with Administrator/Administrator for tests).
It works partially.
It does create the hierarchy (document_base_path/project_id/user-or-technical-documentation-type/file-name) but the file does not get uploaded.
Not enough versed in Ruby to debug it further, but would be willing to test it.
There is this error in the logs :
ActiveCMIS::Error::StreamNotSupported (Documents of this type can't have content):
Here is the stack trace: ActiveCMIS::Error::StreamNotSupported (Documents of this type can't have content): /var/lib/gems/1.8/gems/active_cmis-0.2.6/lib/active_cmis/document.rb:55:in set_content_stream' vendor/plugins/redmine_cmis/app/models/cmis_attachment.rb:54:inbefore_create' vendor/plugins/redmine_cmis/app/models/cmis_attachment.rb:182:in attach_files' vendor/plugins/redmine_cmis/app/models/cmis_attachment.rb:167:ineach_value' vendor/plugins/redmine_cmis/app/models/cmis_attachment.rb:167:in attach_files' vendor/plugins/redmine_cmis/app/controllers/cmis_controller.rb:69:innew' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:95:in process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in send' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:instart' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:insynchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:inspawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:insend' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:instart_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61