Skip to content

Commit

Permalink
Merge 24.3 to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-teamcity committed Mar 26, 2024
2 parents 58a09de + 0b53938 commit e56a8ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void addColumns()
//UserSchema targetSchema = getUserSchema().getContainer().isWorkbook() ? new OConnorExperimentsUserSchema(getUserSchema().getUser(), getUserSchema().getContainer().getParent()) : getUserSchema();
MultiValuedForeignKey parentExperimentsFk = new MultiValuedForeignKey(
QueryForeignKey
.from(getUserSchema(), getContainerFilter())
.from(getUserSchema(), getContainer().isWorkbook() ? ContainerFilter.Type.CurrentAndFirstChildren.create(getContainer().getParent(), getUserSchema().getUser()) : getContainerFilter())
.schema(OConnorExperimentsUserSchema.NAME, getContainer().isWorkbook() ? getContainer().getParent() : getContainer())
.to(OConnorExperimentsUserSchema.Table.ParentExperiments.name(), "Container", null),
"ParentExperiment");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public void testSteps()
updateViaExperimentWebpart(0, null, "type3", "1,2");
verifyExperimentWebpart(0, "updated description 3", "type3", 1, 2);

// Make sure the values round-trip if they're not explicitly set
updateViaExperimentWebpart(0, null, null, null);
verifyExperimentWebpart(0, "updated description 3", "type3", 1, 2);

testBulkUpdate();

// delete via the webpart
Expand Down

0 comments on commit e56a8ff

Please sign in to comment.