•  
      request #9920 Warnings are raised for copy/paste folder in two differents projects
    Infos
    #9920
    Marie Ange Garnier (marieange)
    2017-02-01 14:01
    2017-02-01 09:40
    10210
    Details
    Warnings are raised for copy/paste folder in two differents projects
    Given a folder named "copy/paste"
    Copy all folder from a project to an other, warnings are raised

    ( ! ) Warning: htmlentities() expects parameter 1 to be string, array given in /usr/share/tuleap/src/common/include/Codendi_HTMLPurifier.class.php on line 257
    Call Stack
    # Time Memory Function Location
    1 0.0001 639480 {main}( ) ../index.php:0
    2 0.0644 8684040 DocmanPlugin->process( ) ../index.php:29
    3 0.0784 10571624 Controler->process( ) ../docmanPlugin.class.php:363
    4 0.0922 10941248 Docman_Controller->viewsManagement( ) ../Controler.class.php:61
    5 0.0954 11198152 Docman_View_View->display( ) ../Docman_Controller.class.php:1777
    6 0.1699 13467344 Docman_View_Paste->_content( ) ../Docman_View_View.class.php:37
    7 0.1700 13470680 Docman_View_Details->_content( ) ../Docman_View_Paste.class.php:45
    8 0.1705 13486368 Docman_View_ItemDetails->display( ) ../Docman_View_Details.class.php:119
    9 0.1705 13486368 Docman_View_ItemDetails->fetch( ) ../Docman_View_ItemDetails.class.php:70
    10 0.1706 13487552 Docman_View_ItemDetailsSectionPaste->getContent( ) ../Docman_View_ItemDetails.class.php:64
    11 0.1707 13487648 Docman_Folder->accept( ) ../Docman_View_ItemDetailsSectionPaste.class.php:74
    12 0.1707 13487912 Docman_View_ItemDetailsSectionPaste->visitFolder( ) ../Docman_Folder.class.php:65
    13 0.1707 13488040 Docman_View_ItemDetailsSectionPaste->checkMdDifferences( ) ../Docman_View_ItemDetailsSectionPaste.class.php:83
    14 0.1707 13489192 Docman_MetadataComparator->getMetadataCompareTable( ) ../Docman_View_ItemDetailsSectionPaste.class.php:56
    15 0.1776 13748952 Codendi_HTMLPurifier->purify( ) ../Docman_MetadataComparator.class.php:297
    16 0.1776 13749304 htmlentities ( ) ../Codendi_HTMLPurifier.class.php:257
    Doc/Documentation manager
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-02-01
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-02-01 10:13
    A patch is under review: gerrit #7561.

    • Summary
      -Warnings are raised for copy/paste folder in two differents projets 
      +Warnings are raised for copy/paste folder in two differents projects 
    • Category changed from Doc/Wiki to Doc/Documentation manager
    • Status changed from New to Under review
    • Reported in version changed from All to development