Skip to content

Commit

Permalink
#1 merge latest
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Nov 2, 2015
2 parents b73f1b7 + 27ce220 commit f6260dd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@ Added a rename() operation to DataTransferOperations to clarify difference betwe
### CollectionPager not navigating strict acl dirs with heuristics #148

Add heuristic path guessing to CollectionPagerAO, which is an upgrade of the old CollectionAndDataObjectListAndSearchAOImpl
### across federation browsing under strict acls doesn't interpolate home/ and find subdirs viewable #39

Update cross-zone path heuristic guessing so one can reasonably browse 'down' to home dirs in federated zones

### Misc

Lots of small fixes, pull requests, iRODS compatability tests and fixes through work with consortium
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public class DataObjInp extends AbstractIRODSPackingInstruction {
public static final String LOCAL_PATH = "localPath";
public static final String ALL = "all";

public static final int TRUNCATE = 512;
public static final int CREATE = 512;
public static final int TRUNCATE = 1024;

public static final int CREATE_FILE_API_NBR = 601;
public static final int DELETE_FILE_API_NBR = 615;
Expand Down Expand Up @@ -913,7 +914,7 @@ private int translateOpenFlagsValue() throws JargonException {
tagOpenFlags = 0 | TRUNCATE;
break;
case WRITE_TRUNCATE:
tagOpenFlags = 1 | TRUNCATE;
tagOpenFlags = 1 | TRUNCATE | CREATE;
break;
case READ_WRITE:
tagOpenFlags = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,13 @@ private int processGetAfterResourceDetermined(
transferControlBlock,
transferStatusCallbackListener, clientSideAction);

getIRODSProtocol().operationComplete(l1descInx);
if (!this.getIRODSServerProperties()
.isTheIrodsServerAtLeastAtTheGivenReleaseVersion(
"rods4.1.6")) {
getIRODSProtocol().operationComplete(l1descInx);

}

FileRestartInfo fileRestartInfo = retrieveRestartInfoIfAvailable(
RestartType.GET, irodsFileToGet.getAbsolutePath());
if (fileRestartInfo != null) {
Expand Down

0 comments on commit f6260dd

Please sign in to comment.