[STOR-505] StoRM does not correctly prefix SURLs when multiple mapping rules are defined for a storage area Created: 15/Jan/14  Updated: 12/Jun/14  Resolved: 12/Feb/14

Status: Closed
Project: StoRM
Component/s: backend
Affects Version/s: 1.11.3
Fix Version/s: 1.11.4
Security Level: Public (Visbile by non-authn users.)

Type: Bug Priority: Critical
Reporter: Andrea Ceccanti Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

If, for a given storage area S, two mapping rules are defined, for example:

/rule1 --> S
/rule2 --> S

an ls request on /rule1 could return SURLs prefixed with /rule2, i.e. StoRM
does not correctly use the prefix from the request when constructing the SURLs for the output of the ls command.

This faulty behavior is also observed when multiple SAs (each with its own mapping rule) are defined for the same physical filesystem path.



 Comments   
Comment by Andrea Ceccanti [ 15/Jan/14 ]

Tentative fix on https://github.com/italiangrid/storm/commit/a81d3de3ac31300b2030e98eb437ce587212282a

Generated at Mon Apr 07 00:24:44 CEST 2025 using Jira 10.3.4#10030004-sha1:d6812f2d35a143c1c5fc283d2f5a72582f40aaf1.