Skip to content

Commit

Permalink
remove BOM object on check-in independently of file associations
Browse files Browse the repository at this point in the history
  • Loading branch information
koechlm committed Mar 13, 2023
1 parent d62d7eb commit a3ce1f2
Show file tree
Hide file tree
Showing 3 changed files with 471 additions and 563 deletions.
4 changes: 2 additions & 2 deletions Autodesk.VltInvSrv.iLogicSampleJob/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2023.2.0.0")]
[assembly: AssemblyFileVersion("2023.2.0.0")]
[assembly: AssemblyVersion("2023.2.1.0")]
[assembly: AssemblyFileVersion("2023.2.1.0")]
4 changes: 2 additions & 2 deletions Autodesk.VltInvSrv.iLogicSampleJob/iLogicJobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -717,15 +717,15 @@ public JobOutcome Execute(IJobProcessorServices context, IJob job)
}
if(mJobCheckInResult == true && mNewFileIteration.IsCheckedOut == true)
{
// checkin new file version
// checkin new file version, note: the new file will refuse to assign/update items, as item data are removed
VDF.Currency.FilePathAbsolute vdfPath = new VDF.Currency.FilePathAbsolute(mLocalFileFullName);
FileIteration mUploadedFile = null;
try
{
if (mFileAssocParams.Count > 0)
{
mUploadedFile = mConnection.FileManager.CheckinFile(mNewFileIteration, "Created by Custom Job executing iLogic : " + mAllRulesTextWrp,
false, mFileAssocParams.ToArray(), null, true, null, mFileIteration.FileClassification, false, vdfPath);
false, mFileAssocParams.ToArray(), null, false, null, mFileIteration.FileClassification, false, vdfPath);
}
else
{
Expand Down
Loading

0 comments on commit a3ce1f2

Please sign in to comment.