Commit 1b8156fd authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Update the tag filter list in collection XML

parent 423cb8b9
Pipeline #1039807 failed with stage
in 18 seconds
......@@ -954,21 +954,15 @@ TGridCollection *TJAlienCollection::OpenQuery(TGridResult * queryresult, Bool_t
filelist->Add(filegroup);
}
// set tag filter list
// NOTE (nhardi 2019) the tags in this filter list will
// not be incuded in the XML attributes when XML is exported.
// The type and guidtime tags are ignored as a hack to bring
// tag "name" to the first place in the list of attributes.
// This seems to be a hard requirement from the JobOptimizer side.
TList *filterlist = new TList();
filterlist->Add(new TObjString("type"));
filterlist->Add(new TObjString("dir"));
filterlist->Add(new TObjString("perm"));
filterlist->Add(new TObjString("owner"));
filterlist->Add(new TObjString("ctime"));
filterlist->Add(new TObjString("seStringlist"));
filterlist->Add(new TObjString("aclId"));
filterlist->Add(new TObjString("expiretime"));
filterlist->Add(new TObjString("replicated"));
filterlist->Add(new TObjString("entryId"));
filterlist->Add(new TObjString("gowner"));
filterlist->Add(new TObjString("selist"));
filterlist->Add(new TObjString("select"));
filterlist->Add(new TObjString("online"));
filterlist->Add(new TObjString("guidtime"));
filterlist->Add(new TObjString("message"));
TJAlienCollection *newcollection = new TJAlienCollection(filelist, nofgroups, nofgroupfiles);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment