Changeset 7818

Show
Ignore:
Timestamp:
19.12.2006 19:09:29 (3 years ago)
Author:
sys
Message:

Bug sur suppression d'un dossier dans un .doss (see #94)

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/3.2.x/Jav_BDP/com/scenari/m/bdp/module/save/HModuleSave.java

    r3117 r7818  
    271271        try { 
    272272            vWsp.hSaveItem(vResult, pHistoMode, vTrans); 
    273             vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes.endsWith("/") ? pUriRes.concat("*") : pUriRes, vTrans); 
     273            vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes, vTrans); 
    274274            vWsp.hTransactionCommit(vTrans); 
    275275        } catch (Exception e) { 
  • trunk/Jav_BDP/com/scenari/m/bdp/itemcontent/IHContentAccess.java

    r2389 r7818  
    158158        /** 
    159159         * Supprime la (les) ressource(s) correspondant �UriRes. 
    160          * Note : pUriRes peut se terminer par un '*' ou un '?*' pour supprimer toutes les ressources dont l'uri commence par pUriRes. 
    161160         * @param pTransaction peut �e <code>null</code>. 
    162161         * @return : nombre de ressources supprim�. 
  • trunk/Jav_BDP/com/scenari/m/bdp/module/save/HModuleSave.java

    r7589 r7818  
    270270        try { 
    271271            vWsp.hSaveItem(vResult, vTrans, pClientId); 
    272             vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes.endsWith("/") ? pUriRes.concat("*") : pUriRes, vTrans); 
     272            vWsp.hGetRepository().hGetContentAccess().hDeleteRes(vResult.hGetId(), fItemType.hGetContentFormat(), pUriRes, vTrans); 
    273273            vWsp.hTransactionCommit(vTrans); 
    274274        } catch (Exception e) {