#3325 Mass project import script should use nbhd project template if available

v1.0.0
closed
General
nobody
2015-08-20
2011-11-23
No

Discussion

    • status: in-progress --> code-review
    • qa: John Hoffmann ☠
    • size: --> 2
     
  • forge:tv/3325

    QA: Test normal project registration, with and without a nbhd project template, as a nbhd admin and as a normal user. For a test nbhd project template I used this:

    {
      "icon":{
        "url":"https://a.fsdn.com/con/icons/mo/moodle@sf.net/M.png",
        "filename":"M.png"
      },
      "tools":{
        "summary":{"label":"Summary","mount_point":"summary"},
        "downloads":{"label":"Downloads","mount_point":"downloads"},
        "admin":{"label":"Admin","mount_point":"admin"}
      },
      "tool_order":["summary","downloads","admin"],
      "private": true
    }
    

    Now run some project imports the same way as in [#3215]. Imported projects should pick up nbhd project template defaults if there are any. In the case of labels and trove categories, values in JSON will override the nbhd template.

     
  • John Hoffman - 2011-11-29
    • status: code-review --> validation
     
  • John Hoffman - 2011-11-29

    Tested fine, merged to dev.

     
  • Dave Brondsema

    Dave Brondsema - 2011-12-02
    • status: validation --> closed
     

Log in to post a comment.