mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Fixed bug in gam create vaulthold ... corpus calendar that caused a trap.
This commit is contained in:
@@ -5097,7 +5097,7 @@ gam show vaultexports|exports
|
||||
[fields <VaultExportFieldNameList>] [shownames]
|
||||
[formatjson]
|
||||
|
||||
gam create vaulthold|hold matter <MatterItem> [name <String>] corpus drive|mail|groups|hangouts_chat
|
||||
gam create vaulthold|hold matter <MatterItem> [name <String>] corpus calendar|drive|mail|groups|hangouts_chat|voice
|
||||
[(accounts|groups|users <EmailItemList>) | (orgunit|org|ou <OrgUnit>)]
|
||||
[query <QueryVaultCorpus>]
|
||||
[terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>]
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
Merged GAM-Team version
|
||||
|
||||
6.76.01
|
||||
|
||||
Fixed bug in `gam create vaulthold matter <MatterItem> ... corpus calendar` that caused a trap.
|
||||
|
||||
6.76.00
|
||||
|
||||
Updated versions of `gam create|use project` that use keyword options to also accept the following options
|
||||
|
||||
@@ -38446,6 +38446,7 @@ VAULT_CORPUS_OPTIONS_MAP = {
|
||||
'VOICE': 'voiceOptions',
|
||||
}
|
||||
VAULT_CORPUS_QUERY_MAP = {
|
||||
'CALENDAR': None,
|
||||
'DRIVE': 'driveQuery',
|
||||
'MAIL': 'mailQuery',
|
||||
'GROUPS': 'groupsQuery',
|
||||
@@ -39103,6 +39104,8 @@ def _getHoldQueryParameters(myarg, queryParameters):
|
||||
|
||||
def _setHoldQuery(body, queryParameters):
|
||||
queryType = VAULT_CORPUS_QUERY_MAP[body['corpus']]
|
||||
if queryType is None:
|
||||
return
|
||||
body['query'] = {queryType: {}}
|
||||
if body['corpus'] == 'DRIVE':
|
||||
if queryParameters.get('query'):
|
||||
|
||||
Reference in New Issue
Block a user