•  
      request #10666 Browse all projects is empty after update to 9.12.99
    Infos
    #10666
    Martin Herbst (mherbst)
    2018-10-04 16:38
    2017-09-18 17:11
    10898
    Details
    Browse all projects is empty after update to 9.12.99
    After installing the update to 9.12.99 "Browse all projects" shows only the header but no sidebar and no list of projects (see attached screenshot)
    Other
    9.12
    EL7 (CentOS|RHEL)
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-10-04
    Attachments
    References

    Follow-ups

    User avatar
    Martin Herbst (mherbst)2018-02-01 12:28
    Yes, that's it.

    I have changed the value to an existing one and now it works again :-).

    Thanks for your help.
    User avatar
    can you check the value of sys_default_trove_cat in /etc/tuleap/conf/local.inc,
    you should have something like:
    // Default trove category in software map welcome page.
    // Default is 1 ('topic')
    $sys_default_trove_cat = 1;

    if you update the value to an existing id (column trove_cat_root in previous request) is it better ?

    I think I reproduced the issue do you haave following error in your logs:
    Fatal error: Uncaught exception 'Mustache_Exception_UnknownVariableException' with message 'Unknown variable: current_category'

    Regards
    User avatar
    Martin Herbst (mherbst)2018-02-01 08:35

    Here are the requested information:

    +----------------+--------------+-------------------+----------+----------------+
    | trove_group_id | trove_cat_id | trove_cat_version | group_id | trove_cat_root |
    +----------------+--------------+-------------------+----------+----------------+
    |              1 |           10 |        1418831681 |      101 |              6 |
    |              3 |            7 |        1484232612 |      115 |              6 |
    |              4 |          284 |        1484232612 |      115 |            283 |
    |              5 |            8 |        1484232631 |      113 |              6 |
    |              6 |          285 |        1484232631 |      113 |            283 |
    |             14 |           11 |        1517407765 |      117 |              6 |
    |             17 |          285 |        1517407765 |      117 |            283 |
    |              9 |           11 |        1498655296 |      121 |              6 |
    |             10 |          285 |        1501674580 |      123 |            283 |
    |             13 |          284 |        1517403202 |      102 |            283 |
    |             12 |           11 |        1517403202 |      102 |              6 |
    |             15 |            8 |        1517407765 |      117 |              6 |
    |             16 |            7 |        1517407765 |      117 |              6 |
    |             18 |          286 |        1517407765 |      117 |            283 |
    |             19 |          284 |        1517407765 |      117 |            283 |
    +----------------+--------------+-------------------+----------+----------------+
    User avatar
    Martin Herbst (mherbst)2018-01-31 15:30

    Here it is:

    +--------+
    | status |
    +--------+
    |        |
    | A      |
    | D      |
    | H      |
    | s      |
    +--------+

     

    User avatar
    can you give the result of the following query ?
    select distinct(status) from groups;


    BTW: In order to submit this request I always have to change "Support-Team" back to "none". Is that intentional or a bug in this tracker configuration?
    => I logged an issue for this (request #11065) and set a category as workaround

    • Category set to Other
    User avatar
    Martin Herbst (mherbst)2018-01-31 15:09
    Hi,
    yes, the standard categories and I also defined some own categories.

    Regards

    BTW: In order to submit this request I always have to change "Support-Team" back to "none". Is that intentional or a bug in this tracker configuration?
    User avatar
    Hi

    as site administrator, if you go as site administrator > global configuration > project categories
    do you have any category defined ?

    Best regards
    User avatar
    Martin Herbst (mherbst)2018-01-31 14:32
    last edited by: Martin Herbst (mherbst) 2018-01-31 14:32

    I have made a fresh installation of Tuleap 9.16.99 on a new Linux mache and copied only the data from the old system to the new one. But the problem still exists. Even in the administrator list "All projects" no projects are shown.

    I have checked the php-fpm/error.log and found several messages:

    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined variable: status_label in /usr/share/tuleap/src/common/project/Admin/ProjectListResultsPresenterBuilder.php on line 99"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined variable: status_class in /usr/share/tuleap/src/common/project/Admin/ProjectListResultsPresenterBuilder.php on line 99"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught exception 'Mustache_Exception_UnknownVariableException' with message 'Unknown variable: status_class' in /usr/share/tuleap/src/vendor/mustache/mustache/src/Mustache/Context.php:245"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "Stack trace:"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "#0 /usr/share/tuleap/src/vendor/mustache/mustache/src/Mustache/Context.php(102): Mustache_Context->findVariableInStack('status_class', Array)"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "#1 /var/tmp/tuleap_cache/template_engine/__Mustache_99b4921343cdf8f93e9e499873776a02.php(594): Mustache_Context->find('status_class')"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "#2 /var/tmp/tuleap_cache/template_engine/__Mustache_99b4921343cdf8f93e9e499873776a02.php(915): __Mustache_99b4921343cdf8f93e9e499873776a02->section5f68106f47d9b6d68f8e85cc3c6bc5e1(Object(Mustache_Context), '', Array)"
    [31-Jan-2018 14:31:36] WARNING: [pool tuleap] child 2451 said into stderr: "#3 /var/tmp/tuleap_cache/template_engine/__Mustache_99b4921343cdf8f93e9e499873776a02.php(70): __Mustache_99b4921343cdf8f93e9e499873776a02->section3650ece352e412a90539d55859ac1555(Object(Mustache_Context), '', Object(Tuleap\Project\Admin\ProjectListResultsPresenter))"