1. 21 Jun, 2013 2 commits
    • Arnaud Fontaine's avatar
      Avoid running out of file descriptors when backing up many objects in the... · 7f581c53
      Arnaud Fontaine authored
      Avoid running out of file descriptors when backing up many objects in the trash upon bt5 installation.
      
      Before, when installing a bt5 whose format has changed, many subobjects may
      end up being backup up, but it keeps one FD per subobject, thus easily
      reaching the limit of 1024 FDs (as given by ulimit -Sn/-Hn).
      
      This is a followup of b71e5a73 specific to TrashTool as that commit seems to
      only fix the issue when TrashTool is not used.
      7f581c53
    • Arnaud Fontaine's avatar
      Upon Business Path Item installation, update Local Roles of objects whose... · ada3fb6d
      Arnaud Fontaine authored
      Upon Business Path Item installation, update Local Roles of objects whose Portal Types defines Roles.
      
      Before, Local Roles were not updated upon Path Item installation, thus leading
      to security issues (such as Trade Model Line). This avoids ugly hacks in
      Upgrader and in tests as well.
      
      Also, move Portal Types Role installation before Path so that they can be used
      before updating Roles during Path installation.
      ada3fb6d
  2. 17 May, 2013 16 commits
  3. 16 May, 2013 1 commit
  4. 14 May, 2013 1 commit
    • Vincent Pelletier's avatar
      Translate all messages. · de579ea9
      Vincent Pelletier authored
      Also, factorise & simplify code.
      Also, follow coding style.
      Also, follow naming conventions.
      Also, avoid calling dict() for static key sets.
      Also, add comments about bad code kept for backward compatibility.
      Also, add comments about incorrect grammar - also kept for backward
      compatibility.
      de579ea9
  5. 13 May, 2013 2 commits
  6. 06 May, 2013 18 commits