https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292021-02-08T05:27:11ZRedmineRedmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1008602021-02-08T05:27:11ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li></ul><p>I have confirmed the issue. It occurs when a version is shared with subprojects.</p>
<p>Steps to reproduce:</p>
<p>1. Create a shared version in a parent project<br />2. Set any issue's target version to the shared version in the parent project and its subproject<br />3. On the gannt, collapse and expand the shared version in the parent project<br />4. The progress bar for the shared version should appear again after expanding the version but does not</p> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1008752021-02-09T07:48:24ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/26631">34694.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26631/34694.patch">34694.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>I have confirmed the issue. It occurs when a version is shared with subprojects.</p>
<p>Steps to reproduce:</p>
<p>1. Create a shared version in a parent project<br />2. Set any issue's target version to the shared version in the parent project and its subproject<br />3. On the gannt, collapse and expand the shared version in the parent project<br />4. The progress bar for the shared version should appear again after expanding the version but does not</p>
</blockquote>
<p>I also confirmed.<br />When the same shared versions are displayed multiple on Gantt, I can't figure out the target taskbar when collapsing one of these versions. To solve this, the <code>top</code> value at the time of initial display is set in the <code>data-default-top</code> attribute for each display item. This value is used as an attribute of the selector when to execute collapse/expand.<br />I have attached a patch.</p> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1009842021-02-15T07:55:01ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/26688">34694-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26688/34694-v2.patch">34694-v2.patch</a> added</li></ul><p>Yuichi HARADA wrote:</p>
<blockquote>
<p>I also confirmed.<br />When the same shared versions are displayed multiple on Gantt, I can't figure out the target taskbar when collapsing one of these versions. To solve this, the <code>top</code> value at the time of initial display is set in the <code>data-default-top</code> attribute for each display item. This value is used as an attribute of the selector when to execute collapse/expand.<br />I have attached a patch.</p>
</blockquote>
<p>I could get the number of the current rows, so I remade the patch.</p> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1011562021-03-01T07:53:30ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1033132021-07-25T05:13:24ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>4.1.4</i></li></ul><p>Setting the target version to 4.1.4.</p> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1033302021-07-26T20:29:29ZMarius BÄ‚LTEANU
<ul><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li></ul> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1034552021-07-31T06:26:01ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Collapse/expand of Gantt chart does not work properly when multiple bars of the same shared version are displayed.</i> to <i>Progress bar for a shared version on gantt disappears when the tree is collapsed and then expanded</i></li><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the fix. Thank you.</p> Redmine - Defect #34694: Progress bar for a shared version on gantt disappears when the tree is collapsed and then expandedhttps://www.redmine.org/issues/34694?journal_id=1038422021-08-21T11:01:27ZYasu Saku
<ul></ul><p>Thank you.</p>