Forum

[SOLVED] Link to sp...
 
Notifications
Retirer tout

[SOLVED] Link to specific document version not working

3 Posts
2 Utilisateurs
0 Reactions
2,343 Vu
(@thecube)
Posts: 13
Eminent Member
Début du sujet
 
[#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.


 
Posté : 13/05/2020 2:14 pm
(@babynus)
Posts: 14952
Membre 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');

 
Posté : 13/05/2020 2:37 pm
(@thecube)
Posts: 13
Eminent Member
Début du sujet
 

Hi Babynus,
thanks that makes it work again!
Klaus


 
Posté : 13/05/2020 3:26 pm
Share:
Retour en haut