Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Internal error #28

Closed
Interfud opened this issue Sep 19, 2022 · 7 comments
Closed

Internal error #28

Interfud opened this issue Sep 19, 2022 · 7 comments
Labels
compatibility help wanted Extra attention is needed

Comments

@Interfud
Copy link

After the update
Error when copying a task
Redmine version 5.0.1.stable
Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux]
Rails version 6.1.6

[4b70ab9c-e250-47e3-b379-e0a115d52e35] plugins/additional_tags/lib/additional_tags/patches/issue_patch.rb:77:in copy_from_with_tags' [4b70ab9c-e250-47e3-b379-e0a115d52e35] plugins/issue_recurring/lib/issue_recurring/issue_patch.rb:5:in copy_from'

@Interfud
Copy link
Author

a nonexistent method is called!!!
77 copy_from_without_tags arg, **options

@alexandermeindl alexandermeindl added the help wanted Extra attention is needed label Sep 19, 2022
@alexandermeindl
Copy link
Contributor

Hi @Interfud,

I cannot confirm this problem with the latest version of additional_tags. Which version do you use? Do you use other plugins? If yes, you should try to isolate the problem with removing other plugins.

@Interfud
Copy link
Author

Interfud commented Sep 19, 2022

Broke after the update. Update "additionals" and "additional_tags"

@Interfud Interfud reopened this Sep 19, 2022
@Interfud
Copy link
Author

Broke the plugin https://github.com/cryptogopher/issue_recurring

@alexandermeindl
Copy link
Contributor

Read this: #9 (comment) - additional_tags is using alias_method, this is not compatible with issue_recurring. additional_tags did not change anything about this, I suppose you add issue_recurring plugin or issue_recurring switched to prepend. Remove issue_recurring and it should work, again.

@Interfud
Copy link
Author

Thanks. Deleted everything works.

@cryptogopher
Copy link

For reference, there is a patch for https://github.com/cryptogopher/issue_recurring which allows it to be run with plugins using alias_method.

You just need to replace 1 file in your plugin directory with this one: https://github.com/cryptogopher/issue_recurring/blob/issue30/lib/issue_recurring/issue_patch.rb

It probably won't be actively updated and is a temporary workaround until other plugins will finaly upgrade to using prepend + super.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility help wanted Extra attention is needed
Development

No branches or pull requests

3 participants