jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-267

Error when deleting project from embedded database

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3
  • Component/s: Administration
  • Labels:
    None

Description

As the following log depicts it, I cannot delete a project from the administration interface :

2008.06.10 16:53:57 ERROR rails.sonar
ActiveRecord::StatementInvalid (ActiveRecord::ActiveRecordError: Syntax error: false.: update projects set enabled=false where id=1 or root_id=1):
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.8/lib/active_record/connection_adapters/jdbc_adapter.rb:520:in `execute'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/app/controllers/project_controller.rb:156:in `delete'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:1101:in `perform_action'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_with_filters'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
file:/D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in `measure'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_with_benchmark'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action_with_rescue'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_with_filters'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process_with_session_management_support'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
D:/melusine/Jonas/jonasbase1/work/webapps/jonas/single/sonar/WEB-INF/gems/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch'
:1

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 10/Jun/08 10:31 AM

Which database do you use ?

Show
Simon Brandhof added a comment - 10/Jun/08 10:31 AM Which database do you use ?
Hide
Permalink
Simon Brandhof added a comment - 10/Jun/08 11:03 AM

OK, I reproduce it on Derby. Will be fixed for the final 1.3.

Show
Simon Brandhof added a comment - 10/Jun/08 11:03 AM OK, I reproduce it on Derby. Will be fixed for the final 1.3.
Hide
Permalink
Michel Pawlak added a comment - 11/Jun/08 1:31 AM

Hi Simon, yes I was using derby.

Show
Michel Pawlak added a comment - 11/Jun/08 1:31 AM Hi Simon, yes I was using derby.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Michel Pawlak
Vote (0)
Watch (0)

Dates

  • Created:
    10/Jun/08 10:04 AM
    Updated:
    13/Jun/08 7:47 AM
    Resolved:
    10/Jun/08 11:18 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.