mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
CE-882 Fix test; more words in validation error
This commit is contained in:
@ -832,7 +832,7 @@ public class QInstanceValidator
|
||||
}
|
||||
}
|
||||
|
||||
assertCondition(Objects.equals(tmpTable.getName(), joinTableName), prefix + "has a joinNameChain doesn't end in the expected table [" + joinTableName + "]");
|
||||
assertCondition(Objects.equals(tmpTable.getName(), joinTableName), prefix + "has a joinNameChain doesn't end in the expected table [" + joinTableName + "] (was: " + tmpTable.getName() + ")");
|
||||
|
||||
assertCondition(findField(qInstance, table, joins, fieldName), prefix + "has an unrecognized fieldName: " + fieldName);
|
||||
}
|
||||
|
@ -93,11 +93,11 @@ public class SharingMetaDataProvider
|
||||
.withFieldName("userId"))
|
||||
.withLock(new RecordSecurityLock()
|
||||
.withSecurityKeyType(USER_ID_KEY_TYPE)
|
||||
.withFieldName("sharedAsset.userId")
|
||||
.withFieldName(SharedAsset.TABLE_NAME + ".userId")
|
||||
.withJoinNameChain(List.of(SHARED_ASSET_JOIN_ASSET)))
|
||||
.withLock(new RecordSecurityLock()
|
||||
.withSecurityKeyType(GROUP_ID_KEY_TYPE)
|
||||
.withFieldName("sharedAsset.groupId")
|
||||
.withFieldName(SharedAsset.TABLE_NAME + ".groupId")
|
||||
.withJoinNameChain(List.of(SHARED_ASSET_JOIN_ASSET)))
|
||||
));
|
||||
QInstanceEnricher.setInferredFieldBackendNames(qInstance.getTable(Asset.TABLE_NAME));
|
||||
|
Reference in New Issue
Block a user