#1529 Importing issues with a '/' causes issues
Closed: Fixed 7 years ago Opened 7 years ago by jflory7.

Summary

When importing issues into a Pagure repository with the pagure-importer tool, if an imported tag has a slash character (/), Pagure will not be able to edit or delete the tag in repo settings.

Analysis

I discovered this issue when importing the Fedora Ambassadors of North America Trac into Pagure. There is a tag, budget/booth, that I am unable to drop or edit after importing the repository. Editing the tag gives me a 404 (because it interprets the slash as a new directory) and deleting the tag refreshes the page but takes no effect.

Pagure_tags_with_slashes.png


I discovered this issue when importing the Fedora Ambassadors of North America Trac into Pagure. There is a tag, budget/booth, that I am unable to drop or edit after importing the repository. Editing the tag gives me a 404 (because it interprets the slash as a new directory) and deleting the tag refreshes the page but takes no effect.

I can go in an clean up that tag for you, but I am not sure I want to allow this
type of tags in pagure. This specific seems like something that could be done
with two tags, no?

If you're ok with me not adding support for '/' in tags, I think then the issue
should be raised on pagure-importer so that it avoids this situation.

@pingou In this case, if you could manually fix the tag, that would be great!

And I don't personally see the use of slashes in tags, so it would make sense for the importer tool to just split tags up if they have a slash character. I'd be fine with porting this there and closing the ticket here. :)

The above mentioned PR is merged

And the tag budget/booth has been removed so let's close :)

Thanks for the report!

@pingou changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata
Attachments 1