https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292022-12-17T06:15:55ZRedmineRedmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087802022-12-17T06:15:55ZTakashi Kato
<ul><li><strong>File</strong> <a href="/attachments/30015">0001-Add-the-code-under-lib-redmine-and-plugins-to-the-fi.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/30015/0001-Add-the-code-under-lib-redmine-and-plugins-to-the-fi.patch">0001-Add-the-code-under-lib-redmine-and-plugins-to-the-fi.patch</a> added</li></ul><p>After some research, I've found out that the directory settings monitored by Zeitwerk and monitored by the Reloader must be done respectively.<br />(In the code of Redmine itself, these settings done automatically by Rails.)</p>
<p>The attached patch will fix the problem(can be applied to <a class="changeset" title="Fix shadowing variable in ApplicationHelper#textilizable (#15667). Patch by Ilya S." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21991">r21991</a>).</p> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087852022-12-18T08:36:12ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/29914">Feature #29914</a>: Migrate to Rails 6.1 with Zeitwerk autoloading</i> added</li></ul> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087872022-12-18T08:36:20ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/36218">Defect #36218</a>: Plugin assets are not copied correctly in trunk r21289</i> added</li></ul> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087892022-12-18T08:36:55ZGo MAEDA
<ul><li><strong>Category</strong> set to <i>Rails support</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087912022-12-19T08:44:24ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Modifying the source code of the plugin does not reload it in trunk 21295</i> to <i>Modifying the source code of a plugin does not reload it after r21295</i></li><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>5.0.5</i></li><li><strong>Affected version</strong> set to <i>5.0.0</i></li></ul><p>Setting the target version to 5.0.5.</p> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1087992022-12-21T01:37:05ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the fix. Thank you.</p> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1088162022-12-21T07:49:04ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/38021">Defect #38021</a>: Development mode, class-reloader is not work.</i> added</li></ul> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1088542022-12-23T01:41:24ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul> Redmine - Defect #36273: Modifying the source code of a plugin does not reload it after r21295https://www.redmine.org/issues/36273?journal_id=1101652023-06-07T10:46:11ZHirokazu Onozato
<ul></ul><p>Thanks!</p>