https://dev.e-taxonomy.eu/redmine/https://dev.e-taxonomy.eu/redmine/redmine/favicon.ico?14691914852021-07-02T17:25:53ZEDIT Project ManagementEDIT - task #2859: TaxonNameBase.getReferenceYear does not return inRef yearhttps://dev.e-taxonomy.eu/redmine/issues/2859?journal_id=616222021-07-02T17:25:53ZAndreas Müller
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/redmine/journals/61622/diff?detail_id=76547">diff</a>)</li><li><strong>Priority</strong> changed from <i>Priority12</i> to <i>Priority14</i></li><li><strong>Target version</strong> changed from <i>cdmlib - Old Next Major Release</i> to <i>Release 5.45</i></li></ul><p>Generally this exact method does not seem to be used at all (I checked in cdmlib, vaadin and imports by call hiearchy and in TaxEditor by search for "getReferenceYear", so it could be deleted.</p>
<p>But at the same time the called method Reference.getYear() is called multiple times in cdmlib (and maybe others) and it has the same problem of not being recursive. At least for book sections (or other sections) it seems to make sense to make it recursive.</p>
<p>However, each call needs to be checked.</p>
<p>E.g. OriginalSourceFormatter.getShortCitationsDate() already does such a recursion. Maybe this can be merged then.</p>
EDIT - task #2859: TaxonNameBase.getReferenceYear does not return inRef yearhttps://dev.e-taxonomy.eu/redmine/issues/2859?journal_id=616232021-07-02T17:26:02ZAndreas Müller
<ul><li><strong>Private</strong> changed from <i>Yes</i> to <i>No</i></li></ul>