Closed misilot closed 2 years ago
If I remove the plugin, redmine starts right up and runs its migrations as expected.
There's no branch supporting 5.0 yet
Ok, wasn't sure if it would just work or not with 5.x, and since it didn't I just wanted to report my findings. Thanks!
Thanks for reporting!
Hi! First of all thanks for the plugin, it works great with my Redmine 4.2.4 test install. Do you have any idea when this might work with Redmine 5?
To be honest, no. I am currently very short of spare time. However I believe that most of the needed changes are about Zeitwerk autoloading https://guides.rubyonrails.org/classic_to_zeitwerk_howto.html Any patch solving this issue would be very appreciated, it would let me just do the automated tests in the backgrounds via https://github.com/maxrossello/redmine_testsuites.
Lesson learned. For the future I should prepare the master branch against the current Redmine trunk
I honestly have absolutly no experience with ruby but i will see what I can do. Thanks for the info on what might be the problem.
So I got it to work for me. I had to remove require_dependency at first. It then complaint about an uninitialized Constant "ExtendedWatchersIssuePatch". I could not find where this was coming from and decided to just put a initialization in the "extended_watchers_issue_path". This seems like quite a hack and I would prefer to have this fixed the right way, maybe you know the problem here.
Anyways it seems to work for me atleast with Redmine 5.0 with this: #39
Yeah, Ruby components often use some magic, and probably this one looks for ExtendedWatchersIssuePatch into extended_watchers_issue_patch.rb. I believe that it's possible to just rename ExtendedWatchersIssueInstancePatch to ExtendedWatchersIssuePatch all through the file. Anyways I'll setup the test environment ASAP. Thanks for the contribution
Hi, we updated to RM 5.0.2 version with RM extended watchers plugin #39. Plugin is working properly, but Redmine feature https://www.redmine.org/issues/13919 is not working. No autocomplete window, no error in console. Could someone please try it?
Candidate version is available on master branch. It passes with all Redmine tests as adapted for plugins by redmine_testsuites plugin. The use case of Redmine issue 13919 may not be covered by Redmine tests, so I will try to reproduce it. Official release of plugin version 5.0 will be deployed after all plugins supported by redmine_testsuites had been ported.
@TomasZmuda version on master seems to work for me. Tested also that a non watcher get enabled to mentioning when assigned as watcher (at least in extended mode). Please report your feedback. I'll close this issue when an official release done, i.e. when compatibility with all redmine_testsuite plugins is assured.
Release 5.0.2 deployed upon new branch for 5.0. Enjoy!
When I have this plugin enabled, redmine 5.0 refuses to start
Here is the stack trace from the container that fails