#3345 Trove selection should let you pick any level - NEEDS SCRIPT

v1.0.0
closed
sf-2 (994)
Admin
nobody
2015-08-20
2011-11-29
No

On the classic forge trove select, you can pick Topic and UI selections at any level, not just leaf nodes. Allura requires you to select a leaf node. For example you can't pick "Topic :: Internet :: WWW/HTTP :: Browsers" you must pick "Topic :: Internet :: WWW/HTTP :: Browsers :: Plugins and add-ons"

It appears that on classic forge, this is only true for certain categories. License and audience, for example, require you to pick a leaf node.

I'd be fine with changing the UI to make this happen. Personally I think it's easier to browse through a single drop-down like classic does.

Discussion

    • status: open --> in-progress
    • assigned_to: Tim Van Steenburgh
     
  • forge:tv/3345

    First run:

    (env-allura)root@h6v6024:/var/local/allura/Allura(tv/3345)$ paster script production.ini ../scripts/migrations/019-set-parent-only-troves.py 
    

    Then browse to the trove categories page and make sure adding and deleting still works, and that the Topic and UI lists now contain non-leaf troves that can be selected and added.

     
    • summary: Trove selection should let you pick any level --> Trove selection should let you pick any level - NEEDS SCRIPT
    • status: in-progress --> code-review
    • qa: John Hoffmann ☠
    • size: --> 2
     
  • John Hoffman - 2011-12-01
    • status: code-review --> closed
     
  • John Hoffman - 2011-12-01
    Found 26 parent-only troves in alexandria.
    Setting parent-only Allura troves...
    ...
    Updated 26 Allura troves.
    

    Looks good, tested fine, merged to dev.

     

Log in to post a comment.