← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605670] Re: ngdetails path doesnt allow slash

 

Reviewed:  https://review.openstack.org/346074
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8f77a685471af26f6a1d04b6fde3f2fb8eb0ae2a
Submitter: Jenkins
Branch:    master

commit 8f77a685471af26f6a1d04b6fde3f2fb8eb0ae2a
Author: Tyr Johanson <tyr@xxxxxx>
Date:   Fri Jul 22 09:06:59 2016 -0600

    Allow ngdetails path to contain '/'
    
    When the "path" portion of a route contains a '/', prevent Angular
    from truncating it. This is common if the resource has a complex
    key and wants to use '/' as a separator. For example:
    /project/ngdns/zone/<zone_id>/recordset/<recordset_id>
    
    Change-Id: I7b4fe1ba2b2f657ccee91de50cc9d5267544b51e
    Closes-Bug: 1605670


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1605670

Title:
  ngdetails path doesnt allow slash

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When using the generic resource details view, if the resource path is
  a complex key such as /ngdns/zone/<zone_id/recordset/<recordset_id>/
  the "path" portion of the route is truncated by angular.

  The fix is to change the path registration in core.moudle.js to
  /project/ngdetails/:type/:path*

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1605670/+subscriptions


References