Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions audit/src/org/labkey/audit/AuditController.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ public Object execute(AuditTransactionForm form, BindException errors)
{
AuditLogImpl.TransactionRowIds results;
User elevatedUser = ElevatedUser.ensureCanSeeAuditLogRole(getContainer(), getUser());
// Issue 1307: scope strictly to the current container. 26.7 removed cross-folder imports, so a
// transaction's rows live in the same container as the transaction
ContainerFilter cf = ContainerFilter.Type.Current.create(getContainer(), elevatedUser);
// GitHub Issue 1307: use product folder data CF
ContainerFilter cf = getContainer().getProductFoldersDataContainerFilter(elevatedUser);
if (form.isSampleType())
results = AuditLogImpl.get().getTransactionSampleIds(form.getTransactionAuditId(), elevatedUser, getContainer(), cf);
else
Expand Down
5 changes: 1 addition & 4 deletions experiment/src/org/labkey/experiment/ExpDataIterators.java
Original file line number Diff line number Diff line change
Expand Up @@ -2373,10 +2373,7 @@ public DataIterator getDataIterator(DataIteratorContext context)

// useTransactionAuditCache already set for import and merge in AbstractQueryImportAction.createDataIteratorContext
if (context.getInsertOption() == QueryUpdateService.InsertOption.INSERT)
{
if (Boolean.FALSE != context.getConfigParameter(AbstractQueryImportAction.Params.useTransactionAuditCache))
context.setUseTransactionAuditCache(true);
}
context.setUseTransactionAuditCache(context.getConfigParameterBoolean(AbstractQueryImportAction.Params.useTransactionAuditCache));

// add FileLink DataIterator if any input columns are of type FILE_LINK
if (null != _fileLinkDirectory)
Expand Down