Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #8837 Uncaugh exception when a FTS result concerns something in a deleted project
    Infos
    #8837
    Thomas Gerbet (tgerbet)
    2016-04-15 11:53
    2016-02-03 14:22
    8953
    Details
    Uncaugh exception when a FTS result concerns something in a deleted project
    Steps to reproduce:
    1. Create a new project and initialize a wiki
    2. Add a new wiki page with something you can easily find with a FTS search
    3. As a siteadmin, delete your project
    4. Wait for all system events
    5. Try to find your wiki page with FTS, an exception will be raised

    Stack trace:
    Fatal error: Uncaught exception 'Project_AccessDeletedException' with message 'This project is deleted' in /usr/share/tuleap/src/common/include/URLVerification.class.php on line 612
    roject_AccessDeletedException: This project is deleted in /usr/share/tuleap/src/common/include/URLVerification.class.php on line 612
    Call Stack
    # Time Memory Function Location
    1 0.0001 656984 {main}( ) ../index.php:0
    2 0.0462 6202896 Search_SearchRouter->route( ) ../index.php:24
    3 0.0462 6202896 Search_SearchController->ajaxResults( ) ../SearchRouter.class.php:30
    4 0.0492 6520200 Search_SearchController->doSearch( ) ../SearchController.class.php:83
    5 0.0493 6526376 Search_SearchPlugin->search( ) ../SearchController.class.php:220
    6 0.0493 6526864 EventManager->processEvent( ) ../SearchPlugin.class.php:42
    7 0.0514 6595176 EventManager->processEventOnListener( ) ../EventManager.class.php:77
    8 0.0514 6595176 PluginProxy->processEvent( ) ../EventManager.class.php:91
    9 0.0574 7818992 fulltextsearchPlugin->search_type( ) ../PluginProxy.php:57
    10 0.0628 8091904 FullTextSearch_Controller_Search->siteSearch( ) ../fulltextsearchPlugin.class.php:189
    11 0.0629 8093120 ElasticSearch_SearchClientFacade->searchDocuments( ) ../SearchController.class.php:70
    12 0.0901 8312944 ElasticSearch_SearchResultCollection->__construct( ) ../SearchClientFacade.class.php:119
    13 0.0901 8312944 ElasticSearch_1_2_ResultFactory->getSearchResults( ) ../SearchResultCollection.class.php:45
    14 0.1047 9303024 URLVerification->userCanAccessProject( ) ../ResultFactory.class.php:133
    Full text search
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-04-15
    Attachments
    Empty
    References
    Referencing request #8837

    Follow-ups

    User avatar
    Merged into Tuleap 8.13.99.41

    • Status changed from Under review to Closed
    • Close date set to 2016-04-15