"next links" broken for limited share replicas api

Bug #2023754 reported by Maurice Escher
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)

Bug Description


the link to get the next share replica when using pagination is broken, it reports the URL with underscore 'share_replicas' whereas it should be with hyphen 'share-replicas':


Now I cannot use that link to get the next share replica(s).

Briefly looked into the code, the `_get_next_link` method uses the `_collection_name` which is not right in this case, since the collection name and URL route are different for share replicas.


credit to: kayrus

description: updated
Vida Haririan (vhariria)
tags: added: replication
Vida Haririan (vhariria)
tags: added: low-hanging-fruit
Changed in manila:
importance: Undecided → Medium
Vida Haririan (vhariria)
Changed in manila:
assignee: nobody → Maurice Escher (maurice-escher)
status: New → Triaged
Changed in manila:
assignee: Maurice Escher (maurice-escher) → nobody
Revision history for this message
Vida Haririan (vhariria) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.