Skip to content

Do not normalise tag names in View All Tags dialog #1492

Open

Description

@robotride

Framework Version: 2.8.7
Python: 2.7
Operating System: Win 7 Enterprise
Using RIDE 1.3

If I have tag:
TableCleanUp

on one test, and:
Table CleanUp

on another test, when I select Tools -> View All Tags, nothing happens. I hooked RIDE into an IDE, and got the following:

Connected to pydev debugger (build 135.1057)
Traceback (most recent call last):
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\ui\actiontriggers.py", line 379, in call
action.act(event)
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\action\action.py", line 86, in act
self.action(event)
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\utils\eventhandler.py", line 22, in wrapped
method(self, event)
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\ui\mainframe.py", line 248, in OnViewAllTags
self._view_all_tags_dialog.show_dialog()
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\ui\tagdialogs.py", line 114, in show_dialog
self._execute()
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\ui\tagdialogs.py", line 92, in _execute
self._search_for_tags()
File "C:\DeploymentUnit\Anaconda\Lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\ui\tagdialogs.py", line 139, in _search_for_tags
self._tagit[tag_name].append(tag)
KeyError: u'Table CleanUp'

Activity

  1. yanne commented on Aug 6, 2015

    @yanne
    Member

    This should already be fixed in RIDE 1.4, please try to upgrade.

  2. robotride commented on Aug 10, 2015

    @robotride
    Author

    In 1.4, the issue no longer hampers the 'View all tags' UI from coming up. Good stuff!

    Unfortunately, both tags show up under the same tag in the 'View all tags' UI. Thus, if I have two tests, with the tag names I noted in this ticket, when 'View all tags' UI appears, it shows "TableCleanUp" with 2 Occurrences, and doesn't break out "Table CleanUp" as a different tag. Should I write a new ticket for this? Or keep it contained here? Thx.

  3. yanne commented on Sep 3, 2015

    @yanne
    Member

    Tag name normalisation is done because that's how Robot Framework groups tags in report. However, it might be useful for RIDE to show the tags as they are, or at least offer an option to do so. Since the original bug was fixed already, I'll edit this issue.

  4. changed the title [-]View All Tags Bug[/-] [+]Do not normalise tag names in View All Tags dialog[/+] on Sep 3, 2015
  5. added
    enhancement
    prio-medium
    on Oct 21, 2015
  6. added this to the Future milestone on Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementprio-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions