cubicweb #7246600 error when deleting a file handled by bfss [open]

a traceback:

2015-09-30 16:36:52 - (cubicweb.web) ERROR: AttributeError("'CubicWebTwistedRequestAdapter' object has no attribute 'repo'",)
Traceback (most recent call last):
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/web/application.py", line 367, in core_handle
    result = controller.publish(rset=rset)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/web/views/editcontroller.py", line 129, in publish
    return callback()
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/web/views/editcontroller.py", line 399, in _action_delete
    self.delete_entities(self._cw.edited_eids(withtype=True))
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/web/views/editcontroller.py", line 359, in delete_entities
    entity.cw_delete()
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/entity.py", line 1299, in cw_delete
    {'x': self.eid}, **kwargs)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/web/request.py", line 1013, in execute
    rset = self.cnx.execute(*args, **kwargs)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/session.py", line 181, in check_open
    return func(cnx, *args, **kwargs)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/session.py", line 814, in execute
    rset = self._execute(self, rql, kwargs, build_descr)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/statsd_logger.py", line 121, in __call__
    return self.callable(*args, **kw)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/querier.py", line 612, in execute
    results = plan.execute()
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/querier.py", line 193, in execute
    result = step.execute()
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/ssplanner.py", line 470, in execute
    cnx.repo.glob_delete_entities(cnx, todelete)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/repository.py", line 1049, in glob_delete_entities
    source.delete_entities(cnx, entities)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/sources/__init__.py", line 374, in delete_entities
    self.delete_entity(cnx, entity)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/sources/native.py", line 621, in delete_entity
    with self._storage_handler(entity, 'deleted'):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/sources/native.py", line 582, in _storage_handler
    storage.entity_deleted(entity, attr)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/sources/storages.py", line 199, in entity_deleted
    fpath = self.current_fs_path(entity, attr)
  File "/home/dlaxalde/projects/siaf/grshell-siaf/cubicweb/server/sources/storages.py", line 225, in current_fs_path
    sysource = entity._cw.repo.system_source
AttributeError: 'CubicWebTwistedRequestAdapter' object has no attribute 'repo'
prioritynormal
typebug
done in<not specified>
closed by<not specified>