qconfig : "Set default" in the merge tab raises exception.

Bug #820635 reported by IWATA Hidetaka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Gordon Tyler

Bug Description

In Merge tab in qconfig window, There is "Set default" button.

1. Clicking it raises following exception.
bzr: ERROR: exceptions.AttributeError: 'str' object has no attribute 'name'

Traceback (most recent call last):
  File "D:\DEVELOP\BZR_PLUGINS\qbzr\lib\config.py", line 669, in merge_tools_set_default_clicked
    self.merge_tools_model.set_default(self.get_selected_merge_tool().name)
AttributeError: 'str' object has no attribute 'name'

2. In the first place, why this button exist ?
    Default tool seems to be specified by checkbox in the list.

Related branches

Revision history for this message
Alexander Belchenko (bialix) wrote :

@Gordon Tyler: could you comment at this?

Revision history for this message
Gordon Tyler (doxxx) wrote :

I'll check it out. It's been a while since I tested the Set Default functionality, it may have been broken by a subsequent change.

As for your quest why it exists, it's there in case it's not immediately obvious to the user that the checkbox indicates the default.

Changed in qbzr:
assignee: nobody → Gordon Tyler (doxxx)
Changed in qbzr:
status: New → Confirmed
importance: Undecided → Medium
Changed in qbzr:
milestone: none → 0.21.2
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.