Skip to content

incomplete multibyte character #33

@mockdeep

Description

@mockdeep

Create an issue, then click on the issue heading to bring up the iframe modal, click on Update and then paste in the following text:

Actuellement :
Dans les énoncés des QCU et QCM, nous pouvons intégrer des items audio, vidéo et images, via "Ressource". Parfait.
En revanche, dans les libellés de réponses aux QCU et QCM, nous pouvons uniquement insérer ces ressources par glissé - déposé dans des zones de texte.
Par conséquent, si nous intégrons

You should get a server error. Running in dev mode I see the following error:

incomplete multibyte character
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/postgresql_adapter.rb:370:in `escape'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/postgresql_adapter.rb:370:in `quote_string'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/quoting.rb:19:in `quote'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/postgresql_adapter.rb:361:in `quote'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:3053:in `attributes_with_quotes'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:3044:in `each'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:3044:in `attributes_with_quotes'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:2959:in `create_without_timestamps'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/timestamp.rb:53:in `create_without_callbacks'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/callbacks.rb:266:in `create'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:2935:in `create_or_update_without_callbacks'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/callbacks.rb:250:in `create_or_update'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:2585:in `save_without_validation'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/validations.rb:1089:in `save_without_dirty'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/dirty.rb:79:in `save_without_transactions'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:229:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:182:in `transaction'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:196:in `save'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:196:in `save'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/has_many_association.rb:61:in `insert_record'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_proxy.rb:146:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_proxy.rb:146:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/autosave_association.rb:323:in `save_collection_association'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_proxy.rb:215:in `each'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_proxy.rb:215:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/associations/association_collection.rb:392:in `method_missing_without_paginate'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/will_paginate-2.3.15/lib/will_paginate/finder.rb:168:in `method_missing'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/autosave_association.rb:314:in `save_collection_association'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/autosave_association.rb:176:in `autosave_associated_records_for_details'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:178:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:178:in `evaluate_method'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:166:in `call'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:93:in `run'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:92:in `each'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:92:in `send'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:92:in `run'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:276:in `run_callbacks'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/callbacks.rb:344:in `callback'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/callbacks.rb:267:in `create'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:2935:in `create_or_update_without_callbacks'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/callbacks.rb:250:in `create_or_update'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/base.rb:2602:in `save_without_validation!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/validations.rb:1099:in `save_without_dirty!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:200:in `save!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:182:in `transaction'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:200:in `save!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/home/fletch/.rvm/gems/ruby-1.8.7-p374/gems/activerecord-2.3.18/lib/active_record/transactions.rb:200:in `save!'
/home/fletch/Dropbox/projects/better/app/models/issue.rb:644:in `create_journal'
/home/fletch/Dropbox/projects/better/app/models/issue.rb:628:in `after_save'
/home/fletch/Dropbox/projects/better/app/controllers/issues_controller.rb:213:in `edit'

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions