•  
      request #13712 Custom system-wide service is invisible in the UI
    Infos
    #13712
    Joris MASSON (jmasson)
    2019-08-20 15:54
    2019-08-05 10:55
    13915
    Details
    Custom system-wide service is invisible in the UI

    How to reproduce:

    1. Go to Default Site Template project (project id 100), and go to Project administration > Services
    2. Add a custom service with whatever information.
    3. Write down the short name.Submit the form
    4. The service will be correctly created for all projects, but will not appear anywhere. It neither appears in the Services list in Default Site Template, nor in any child project.
    5. When you try to create another service with the same short name, you will get an error stating that this short name already exists. The Service does exist in the database, but is never listed despite being "available" and "active". (DB flags is_active and is_used set to 1)
    Empty
    Project admin
    11.4
    Empty
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References

    Follow-ups

    • User avatar
      The issue is that there is some filter that hide "unknown" services. Since you added a random short name, Tuleap decide to not show it.

      This comes from git #tuleap/stable/5a8b4b8a13192645c4be173ec18d86642c10e58a (or gerrit #2361) introduced 5 years ago.

      This means that the possibility to create a custom service in default site template is pretty useless (since you can only add known services like git, which are already present by default in this template).

      Since default site template (project "100") should be discouraged in favor of business oriented templates (scrum template for example), I suggest to remove the capability to create custom service in this project.