function getDetailsPath(item) {
return detailRoute + 'OS::Glance::Image/' + item.id;
}
So we will see the error 'The current URL, project/ngdetails/OS::Glance::Image/46ef8cab-dfc3-4690-8abb-d416978d237e, didn't match any of these.' when backporting two primitive patches into Ocata. So the following simple changes need to be made in urls.py in addition to the primitive backport patches as well.
In fact, backporting two primitive patches [1][2] into Ocata will not be able to work, because:
1, In Ocata release, getDetailsPath returns "'project/ ngdetails/ OS::Glance: :Image/ ' + item.id;"
https:/ /github. com/openstack/ horizon/ blob/stable/ ocata/openstack _dashboard/ static/ app/core/ images/ images. service. js#L59
function getDetailsPath( item) { ngdetails/ OS::Glance: :Image/ ' + item.id;
return 'project/
}
2, In > Ocata release, eg: Pike release, getDetailsPath returns "detailRoute + 'OS::Glance: :Image/ ' + item.id"
https:/ /github. com/openstack/ horizon/ blob/stable/ pike/openstack_ dashboard/ static/ app/core/ images/ images. service. js#L69
function getDetailsPath( item) { :Image/ ' + item.id;
return detailRoute + 'OS::Glance:
}
So we will see the error 'The current URL, project/ ngdetails/ OS::Glance: :Image/ 46ef8cab- dfc3-4690- 8abb-d416978d23 7e, didn't match any of these.' when backporting two primitive patches into Ocata. So the following simple changes need to be made in urls.py in addition to the primitive backport patches as well.
-ngdetails_url = url(r'^ngdetails/', project/ ngdetails/ ',
+ngdetails_url = url(r'^
I will propose a backport to ocata later.
[1] https:/ /review. openstack. org/#/c/ 541676/ /review. openstack. org/#/c/ 553970/
[2] https:/