case 4141
This commit is contained in:
@@ -35,7 +35,7 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
public string PluginVersion
|
||||
{
|
||||
get { return "7.6.1-beta.1-rc3"; }
|
||||
get { return "7.6.1-beta.1-rc4"; }
|
||||
}
|
||||
|
||||
public string About
|
||||
@@ -5861,6 +5861,7 @@ namespace AyaNova.PlugIn.V8
|
||||
var af = AyaFile.GetItem(i.LT_O_AyaFile.Value);
|
||||
if (af == null) continue;
|
||||
|
||||
|
||||
progress.SubOp("Wikifile: \"" + af.Name + "\" " + AyaBizUtils.FileSizeDisplay((decimal)af.FileSize));
|
||||
if (IsDuplicatev7v8IdMapItem(i.LT_O_AyaFile.Value, i.LT_O_AyaFile.Display, progress)) continue;
|
||||
|
||||
@@ -5905,6 +5906,13 @@ namespace AyaNova.PlugIn.V8
|
||||
}
|
||||
formDataContent.Add(new StringContent(RavenTypeAsString), name: "AttachToAType");
|
||||
formDataContent.Add(new StringContent(v8Id.ToString()), name: "AttachToObjectId");
|
||||
|
||||
//user id override
|
||||
long? attachedByUserId=await Getv7v8IdMapNullOk(i.LT_Common_Label_Creator.Value, RootObjectTypes.User);
|
||||
if (attachedByUserId == null) attachedByUserId = 1;//use superuser
|
||||
formDataContent.Add(new StringContent(attachedByUserId.ToString()), name: "OverrideUserId");
|
||||
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(ImportTag))
|
||||
formDataContent.Add(new StringContent(ImportTag), name: "Notes");
|
||||
formDataContent.Add(new StringContent(dFileData.ToString()), name: "FileData");
|
||||
|
||||
Reference in New Issue
Block a user