Skip to content

Commit

Permalink
#126 file exists method now works with stand-in directories for root,…
Browse files Browse the repository at this point in the history
… zone, home to account for strict acls
  • Loading branch information
michael-conway committed Jun 3, 2015
1 parent 2270f5f commit 8f4e89e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ Added a ResourceNotFoundException in the hierarchy. For prior to 4.1, will main
#### Read length set to 0 on phymove, likely protocol change #111

Fixed phymove api numbers, maintains backwards compatability

#### Potential federation error 4.1 iRODS query across zones getting objStat #126

Added heruistic creation of ObjStats in certain occasions where strict ACLs would otherwise cause an error. This is meant to assist interfaces that need to 'navigate' down from the root, to give these interfaces a chance to get to viewable directories. This can be turned off with jargon properties.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public ObjStat getObjStat(final String irodsAbsolutePath)
throws FileNotFoundException, JargonException {
log.info("getObjStat(final String irodsAbsolutePath)");
return collectionAndDataObjectListAndSearchAO
.retrieveObjectStatForPath(irodsAbsolutePath);
.retrieveObjectStatForPathWithHeuristicPathGuessing(irodsAbsolutePath);
}

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.irods.jargon.testutils.filemanip.FileGenerator;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand Down

0 comments on commit 8f4e89e

Please sign in to comment.