•  
      request #8639 PHPWiki plugin does not purge correctly FRS documents
    Infos
    #8639
    Thomas Gerbet (tgerbet)
    2015-12-01 15:13
    2015-11-30 11:53
    8759
    Details
    PHPWiki plugin does not purge correctly FRS documents
    The following stacktrace is generated when SYSTEM_CHECK try to clean up FRS:
    PHP Warning: preg_match() expects parameter 2 to be string, array given in /usr/share/tuleap/src/common/dao/include/DataAccess.class.php on line 279
    PHP Stack trace:
    PHP 1. {main}() /usr/share/tuleap/src/www/empty.php:0
    PHP 2. BackendSystem->cleanupFRS() /usr/share/tuleap/src/www/empty.php:6
    PHP 3. EventManager->processEvent() /usr/share/tuleap/src/common/backend/BackendSystem.class.php:445
    PHP 4. EventManager->processEventOnListener() /usr/share/tuleap/src/common/event/EventManager.class.php:77
    PHP 5. PluginProxy->processEvent() /usr/share/tuleap/src/common/event/EventManager.class.php:91
    PHP 6. phpwikiPlugin->purgeFiles() /usr/share/tuleap/src/common/plugin/PluginProxy.php:57
    PHP 7. PHPWikiAttachment->purgeAttachments() /usr/share/tuleap/plugins/phpwiki/include/phpwikiPlugin.class.php:172
    PHP 8. PHPWikiAttachmentDao->searchAttachmentToPurge() /usr/share/tuleap/plugins/phpwiki/include/lib/PHPWikiAttachment.class.php:613
    PHP 9. DataAccess->escapeInt() /usr/share/tuleap/plugins/phpwiki/include/lib/PHPWikiAttachmentDao.class.php:152
    PHP 10. preg_match() /usr/share/tuleap/src/common/dao/include/DataAccess.class.php:279
    Doc/Wiki
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2015-12-01
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Merged in Tuleap 8.8.99.76

    • Status changed from Under review to Closed
    • Close date set to 2015-12-01
    User avatar
    Thomas Gerbet (tgerbet)2015-11-30 12:20
    A patch is under review: gerrit #4778.

    • Summary
      -SYSTEM_CHECK fail due to invalid argument processing in PHPWiki plugin 
      +PHPWiki plugin does not purge correctly FRS documents 
    • 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
    • Status changed from Under implementation to Under review