Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

problem after update from redmineup_tags #52

Open
rkteam opened this issue Jun 19, 2023 · 1 comment
Open

problem after update from redmineup_tags #52

rkteam opened this issue Jun 19, 2023 · 1 comment

Comments

@rkteam
Copy link

rkteam commented Jun 19, 2023

After upgrading from redmineup_tags to this plugin, we have a problem with saved issue queries that had tags in the condition.

The problem is:
redmineup_tags use "issue_tags" for field "filters" in IssueQuery
additional_tags use "tags" for field "filters" in IssueQuery
So if you save issue query with "tags" in filters and update to additional_tags you will get error 500 on this query.
It is not big problem because you can go to /queries/query_id/edit and edit it.
But big problem if you use this query in "my page". My page totally broken and you cannot fix it without edit directly in database.

I see 2 ways to fix it:

  1. create migration that edit all saved queries.
  2. refactor additional_tags and change "tags" to "issue_tags" (i think it will fix Any idea how to get Additional Tags to show on RedmineUp Agile Cards #48 Tags not working with agile board #50 also)

I can do it myself but I want ask developers: which way is better?

@alexandermeindl
Copy link
Contributor

alexandermeindl commented Jun 19, 2023

Hi @rkteam,

would be great if you can provide a PR for your first option (migrate existing saved queries).

Note: some filters with redmineup_tags works different. E.g. multiple tags uses AND operation. This means, only renaming is not enough for a 100% migration.

# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

2 participants