Skip to content

Commit

Permalink
UpdateObject not changing Custom Fields in Version objects #301 (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvaron authored Jun 27, 2023
1 parent 9b34777 commit f057ceb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/redmine-net-api/Types/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ public override void WriteXml(XmlWriter writer)
writer.WriteElementString(RedmineKeys.SHARING, Sharing.ToString().ToLowerInv());
writer.WriteDateOrEmpty(RedmineKeys.DUE_DATE, DueDate);
writer.WriteElementString(RedmineKeys.DESCRIPTION, Description);
if (CustomFields != null)
{
writer.WriteArray(RedmineKeys.CUSTOM_FIELDS, CustomFields);
}
}
#endregion

Expand Down Expand Up @@ -272,4 +276,4 @@ public override int GetHashCode()
CustomFields={CustomFields.Dump()}]";

}
}
}

0 comments on commit f057ceb

Please sign in to comment.