•  
      request #1277 Wrong URL inheritance when creating a project
    Infos
    #1277
    Nicolas Terray (nterray)
    2012-09-18 14:09
    2012-08-16 16:59
    644
    Details
    Wrong URL inheritance when creating a project
    Context:
    A template project with short name 'agile'. Service agiledashboard is available and enabled (!), its link is '/plugins/agiledashboard/?group_id=102'.

    Based on this template we create a project short-named 'toto'. During creation, the link of the service agiledashboard becomes '/plugins/totodashboard/?group_id=103'

    This comes from bad str_replace in service_create_service() L25:
    $link = str_replace($template['name'], $pm->getProject($group_id)->getUnixName(), $link);
    (in src/www/include/service.php)

    Please unit test and fix that.

    See https://tuleap.net/plugins/forumml/message.php?group_id=101&topic=10886&list=1
    Project admin
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed (disabled)
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Fix available in Tuleap 5.4.99.21

    • Status changed from New to Closed (disabled)
    • CC list set to
    • Platform set to
    • Is an Enhancement or an internal improvement? set to
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes