Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,13 @@ public Domain getDomain() {
return _tableInfo.getDomain();
}

@Nullable
@Override
public Domain getDomain(boolean forUpdate) {
return _tableInfo.getDomain(forUpdate);
}


@Nullable
@Override
public DomainKind getDomainKind() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static void setUp() throws ValidEmail.InvalidEmailException, ChangeProper
// create issue tracker
int issueDefId = IssuesListDefService.get().createIssueListDef(container, adminUser,"IssueDefinition","User Registrations", null,null);
// The Domain object is the definition of the "table" that contains the custom fields.
Domain d = IssuesListDefService.get().getDomainFromIssueDefId(issueDefId, container, adminUser);
Domain d = IssuesListDefService.get().getDomainFromIssueDefId(issueDefId, container, adminUser, true);
String[] fieldnames = {"firstname","lastname","email","institution","project","reason"};
createTextFields(d,fieldnames,adminUser);

Expand Down Expand Up @@ -385,4 +385,4 @@ public static void cleanUp() throws ValidEmail.InvalidEmailException, SecurityMa
UserManager.deleteUser(adminuser.getUserId());
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ private void addPurchasingRequestsCols(Container container, User user)
domain.setFields(extensibleCols);

try {
DomainUtil.createDomain(DOMAIN_NAME, domain, null, container, user, null, null);
DomainUtil.createDomain(DOMAIN_NAME, domain, null, container, user, null, null, false);
}
catch (ValidationException ve) {
throw new RuntimeException(ve.getMessage(), ve);
Expand Down