Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Updated by Storm Lee about 10 years ago

Dear OpenProject Team,

My OpenProject on Debian 7 x64
Update from OpenProject 4.0.2 to 4.0.8 (Mysql2)
gem ‘openproject-plugins’, :git =\> ‘https://github.com/opf/openproject-plugins.git’, :branch =\> ‘stable’
gem ‘openproject-costs’, :git =\> ‘https://github.com/finnlabs/openproject-costs.git’, :branch =\> ‘stable’
gem ‘reporting\_engine’, :git =\> ‘https://github.com/finnlabs/reporting\_engine.git’, :branch =\> ‘stable’
gem ‘openproject-global\_roles’, :git =\> ‘https://github.com/finnlabs/openproject-global\_roles.git’, :branch =\> ‘stable’
gem ‘openproject-meeting’, :git =\> ‘https://github.com/finnlabs/openproject-meeting.git’, :branch =\> ‘stable’
gem ‘openproject-my\_project\_page’, :git =\> ‘https://github.com/finnlabs/openproject-my\_project\_page.git’, :branch =\> ‘stable’
gem ‘openproject-documents’, :git =\> ‘https://github.com/opf/openproject-documents.git’, :branch =\> ‘stable’
gem ‘openproject-reporting’, git: ‘https://github.com/finnlabs/openproject-reporting.git’, :branch =\> ‘stable’
gem ‘openproject-help\_link’, :git =\> ‘https://github.com/finnlabs/openproject-help\_link.git’, :branch =\> ‘stable’
gem ‘openproject-backlogs’, :git =\> ‘https://github.com/finnlabs/openproject-backlogs.git’, :branch =\> ‘stable’
gem ‘openproject-pdf\_export’, :git =\> ‘https://github.com/finnlabs/openproject-pdf\_export.git’, :branch =\> ‘stable’

I get error when select all workpackages and export to CSV:

Started GET “/projects/14/work\_packages.csv?set\_filter=1\&f%5B%5D=status\_id\&f%5B%5D=fixed\_version\_id\&c%5B%5D=type\&c%5B%5D=status\&c%5B%5D=priority\&c%5B%5D=subject\&c%5B%5D=assigned\_to\&c%5B%5D=updated\_at\&c%5B%5D=position\&sort=position%3Adesc\&name=\_\&accept\_empty\_query\_fields=true\&op%5Bstatus\_id%5D=\*\&v%5Bstatus\_id%5D%5B%5D=undefined\&op%5Bfixed\_version\_id%5D=%3D\&v%5Bfixed\_version\_id%5D%5B%5D=78” for 192.168.xx.xx at 2015-03-23 15:03:39 +0700
Processing by WorkPackagesController\#index as CSV
Parameters: {“set\_filter”=\>“1”, “f”=\>\[“status\_id”, “fixed\_version\_id”\], “c”=\>\[“type”, “status”, “priority”, “subject”, “assigned\_to”, “updated\_at”, “position”\], “sort”=\>“position:desc”, “name”=\>“\_”, “accept\_empty\_query\_fields”=\>“true”, “op”=\>{“status\_id”=\>“\*”, “fixed\_version\_id”=\>“=”}, “v”=\>{“status\_id”=\>\[“undefined”\], “fixed\_version\_id”=\>\[“78”\]}, “project\_id”=\>“14”}
OpenProject User: Phong Le Hong (phong ID: 3 \<phong@xxx.com\>)
Completed 500 Internal Server Error in 110.1ms

NoMethodError (undefined method \`gsub’ for nil:NilClass):
app/models/work\_package/csv\_exporter.rb:80:in \`csv\_row’
app/models/work\_package/csv\_exporter.rb:42:in \`block (2 levels) in csv’
app/models/work\_package/csv\_exporter.rb:41:in \`each’
app/models/work\_package/csv\_exporter.rb:41:in \`block in csv’
app/models/work\_package/csv\_exporter.rb:37:in \`csv’
app/controllers/work\_packages\_controller.rb:226:in \`block (2 levels) in index’
app/controllers/work\_packages\_controller.rb:216:in \`index’

<sub></sub>~\`
PS: when select export to PDF it runs OK

Started GET “/projects/14/work\_packages.pdf?set\_filter=1\&f%5B%5D=status\_id\&f%5B%5D=fixed\_version\_id\&c%5B%5D=type\&c%5B%5D=status\&c%5B%5D=priority\&c%5B%5D=subject\&c%5B%5D=assigned\_to\&c%5B%5D=updated\_at\&c%5B%5D=position\&sort=position%3Adesc\&name=\_\&accept\_empty\_query\_fields=true\&op%5Bstatus\_id%5D=\*\&v%5Bstatus\_id%5D%5B%5D=undefined\&op%5Bfixed\_version\_id%5D=%3D\&v%5Bfixed\_version\_id%5D%5B%5D=78” for 192.168.xx.xx at 2015-03-23 15:03:27 +0700
Processing by WorkPackagesController\#index as PDF
Parameters: {“set\_filter”=\>“1”, “f”=\>\[“status\_id”, “fixed\_version\_id”\], “c”=\>\[“type”, “status”, “priority”, “subject”, “assigned\_to”, “updated\_at”, “position”\], “sort”=\>“position:desc”, “name”=\>“\_”, “accept\_empty\_query\_fields”=\>“true”, “op”=\>{“status\_id”=\>“\*”, “fixed\_version\_id”=\>“=”}, “v”=\>{“status\_id”=\>\[“undefined”\], “fixed\_version\_id”=\>\[“78”\]}, “project\_id”=\>“14”}
OpenProject User: Phong Le Hong (phong ID: 3 \<phong@xxx.com\>)
Rendered text template (0.0ms)
Sent data export.pdf (3.2ms)
Completed 200 OK in 528.0ms (Views: 3.0ms | ActiveRecord: 11.1ms)

Back

Loading...