google-code-export / crunchyfrog

Automatically exported from code.google.com/p/crunchyfrog
0 stars 0 forks source link

AttributeError when using MySQL backend #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open SQL editor with MySQL connection
2. Hit TAB for autocompletion

Traceback (most recent call last):
  File "/storage/devel/cf/default/cf/autocompletion.py", line 515, in 
on_editor_key_pressed_tab
    editor_autocomplete_advanced(editor)
  File "/storage/devel/cf/default/cf/autocompletion.py", line 129, in 
editor_autocomplete_advanced
    matches = get_matches(editor)
  File "/storage/devel/cf/default/cf/autocompletion.py", line 435, in 
get_matches
    completions = build_completions(editor, fragment)
  File "/storage/devel/cf/default/cf/autocompletion.py", line 311, in 
build_completions
    db.objects.Schema))]
  File "/storage/devel/cf/default/cf/db/objects.py", line 607, in 
get_full_name
    if hasattr(self, "schema") and not self.schema.is_default:
AttributeError: 'Schema' object has no attribute 'is_default'

Original issue reported on code.google.com by albrecht.andi on 21 Feb 2010 at 6:52

GoogleCodeExporter commented 9 years ago
Fixed in r883ab31703aa

Original comment by albrecht.andi on 17 May 2010 at 4:59