Project

General

Profile

Actions

Bug #806

closed

Il faudrait pouvoir lire et écrire sur un même objet File

Added by Devémy Julien almost 15 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
Category:
engine
Target version:
-
Start date:
07/01/2010
Due date:
% Done:

0%

Estimated time:

Description

Pour l'instant, l'écriture après une lecture d'un File (pourtant ouvert avec les bons Flags) renvoie une erreur :
SagaIO: java.io.IOException: Bad file descriptor

python spec/test/filesystem_unittest.py TestFile.testRead

Actions #1

Updated by Devémy Julien over 14 years ago

  • Priority changed from Low to Normal
Actions #2

Updated by Schwarz Lionel about 14 years ago

  • Status changed from New to Resolved
  • Assigned To changed from Reynaud Sylvain to Schwarz Lionel

Le Flag READWRITE n'est plus supporté, l'exception NotImplemented est maintenant jetée à partir de 0.9.14-SNAPSHOT

Actions #3

Updated by Schwarz Lionel about 14 years ago

  • Status changed from Resolved to Assigned
Actions #4

Updated by Schwarz Lionel about 14 years ago

Le bug est identifié mais ne sera pas corrigé prochainement.

Le test python fait un getSize() puis un write(). Or dans le AbstractSyncFileImpl.getSizeSync(), il y a un outputStream.close(), donc impossible de faire un write() à la suite.

Le outputStream.close() est indispensable aux protocoles type GridFTP et il est pour l'instant un peu complexe d'envisager une solution close()+open().

Actions #5

Updated by Schwarz Lionel almost 14 years ago

  • Status changed from Assigned to Suspended
Actions #6

Updated by Reynaud Sylvain about 13 years ago

  • Category set to engine
Actions #7

Updated by Schwarz Lionel over 9 years ago

  • Status changed from Suspended to Rejected

too old

Actions

Also available in: Atom PDF