•  
      request #8595 import_project_xml.php: fatal error, undefined class constant
    Infos
    #8595
    Shanti (mildred)
    2015-11-13 12:16
    2015-11-13 11:21
    8727
    Details
    import_project_xml.php: fatal error, undefined class constant

    When executing src/utils/import_project_xml.php, I get the following error:

    # sudo docker exec -ti tuleap_web_1 /usr/share/tuleap/src/utils/import_project_xml.php -p 100 -u admin -i /dev/null
    PHP Fatal error:  Undefined class constant 'PROJECT_XML_FILENAME' in /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php on line 74
    PHP Stack trace:
    PHP   1. {main}() /usr/share/tuleap/src/utils/import_project_xml.php:0
    PHP   2. ProjectXMLImporter->importFromArchive() /usr/share/tuleap/src/utils/import_project_xml.php:93
    
    Fatal error: Undefined class constant 'PROJECT_XML_FILENAME' in /usr/share/tuleap/src/common/project/ProjectXMLImporter.class.php on line 74
    
    Call Stack:
        0.0001     669696   1. {main}() /usr/share/tuleap/src/utils/import_project_xml.php:0
        0.0367   13750688   2. ProjectXMLImporter->importFromArchive() /usr/share/tuleap/src/utils/import_project_xml.php:93
    
    
    CLI
    8.8
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Shanti (mildred), Adrien H. (sogiadrien)
    Stage
    Empty
    Closed
    2015-11-13
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2015-11-13 12:16
    Thanks for you contribution.

    Integrated in Tuleap 8.8.99.18 (gerrit #4664).

    • Status changed from Under implementation to Closed
    • Close date set to 2015-11-13