You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor detail I noticed while working with the comment templates.
Expected Results
At step 3, the comment template ("Preview Template Contents") should appear as soon as the tracker is changed to one that has a comment template.
Steps to reproduce
Create a issue using a tracker that does not have a comment template.
Edit the issue created in step 1 and change its tracker to one that does have a comment template.
Check the comment form. The comment template ("Preview Template Contents") does not appear.
Click the submit button and edit the issue again.
Check the comment form again. Now the comment template ("Preview Template Contents") appears.
Screenshot
Screenshot for Step 1: Creating a ticket using the "Bug" tracker.
Screenshot for Step 2 and 3: Changing the tracker from "Bug" to "Feature request".
Screenshot for Step 4 and 5: After changing the tracker and submitting once, editing the issue again shows the comment template.
Actual Results
Because the comment template is only loaded when the edit form is initially displayed (via view_issues_edit_notes_bottom), the comment form does not refresh after switching the project or tracker. Even when the changed tracker supports a comment template, it is not displayed unless the issue is edited once more.
Environment
admin/info:
Environment:
Redmine version 6.0.2.stable
Ruby version 3.3.6-p108 (2024-11-05) [x86_64-linux]
Rails version 7.2.2
Environment development
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Subversion 1.14.2
Mercurial 6.3.2
Git 2.47.1
Filesystem
Redmine plugins:
redmine_issue_templates 1.2.1
redmine_issue_templates:
% git log --oneline -1
34537be (HEAD -> master, origin/master, origin/HEAD) Merge pull request #118 from agileware-jp/add_circleci_job
% git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
The text was updated successfully, but these errors were encountered:
This is a minor detail I noticed while working with the comment templates.
Expected Results
At step 3, the comment template ("Preview Template Contents") should appear as soon as the tracker is changed to one that has a comment template.
Steps to reproduce
Screenshot
Actual Results
Because the comment template is only loaded when the edit form is initially displayed (via view_issues_edit_notes_bottom), the comment form does not refresh after switching the project or tracker. Even when the changed tracker supports a comment template, it is not displayed unless the issue is edited once more.
Environment
admin/info:
redmine_issue_templates:
The text was updated successfully, but these errors were encountered: