Forum

[SOLVED] Link to sp...
 
Notifications
Clear all

[SOLVED] Link to specific document version not working

3 Posts
2 Users
0 Reactions
2,344 Views
(@thecube)
Posts: 13
Active Member
Topic starter
 
[#6708]

Seems to be a regression in v8.4.4 (as it worked for me in v8.4.3):

When creating a link to a document (e.g. in a deliverable) and selecting a specific version of the document from the presented drop-down, the actual link inserted sometimes refers to a completely different document or no document at all (see attachment).
If no specific version is selected, all is fine.


 
Posted : 13 May 2020 14H14
(@babynus)
Posts: 14952
Member Admin
 

Hi,

It seems to be new sorting that leads to issue.
Try and replace line 450 in tool/jsonList.php from

        usort($list, 'version_compare');

to

        uasort($list, 'version_compare');

 
Posted : 13 May 2020 14H37
(@thecube)
Posts: 13
Active Member
Topic starter
 

Hi Babynus,
thanks that makes it work again!
Klaus


 
Posted : 13 May 2020 15H26
Share:

Scroll to Top