Skip to content

Commit 469d819

Browse files
author
Ronald Barendse
committed
Fixed warnings and ignore restored Umbraco Deploy content files
1 parent da33cc3 commit 469d819

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ bower_components/
2525
node_modules/
2626
Umbraco.Deploy.UI.Client/build/
2727
build/Tools/nuget.exe
28+
29+
src/Umbraco.Deploy.Contrib.Connectors/App_Plugins/*
30+
src/Umbraco.Deploy.Contrib.Connectors/Config/*
31+
src/Umbraco.Deploy.Contrib.Connectors/app.config

src/Umbraco.Deploy.Contrib.Connectors/ValueConnectors/ArchetypeValueConnector.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ internal class ArchetypeFieldsetModel
413413
[JsonProperty("disabled")]
414414
public bool Disabled { get; set; }
415415

416-
[JsonProperty("properties")] public IEnumerable<ArchetypePropertyModel> Properties;
416+
[JsonProperty("properties")]
417+
public IEnumerable<ArchetypePropertyModel> Properties { get; set; }
417418

418419
[JsonProperty("id")]
419420
public Guid Id { get; set; }
@@ -457,7 +458,7 @@ internal class UmbracoEditorState
457458
{
458459
// container for the names of any files selected for a property in the Umbraco backend
459460
[JsonProperty("fileNames")]
460-
public IEnumerable<string> FileNames;
461+
public IEnumerable<string> FileNames { get; set; }
461462
}
462463
}
463464
}

src/Umbraco.Deploy.Contrib.Connectors/ValueConnectors/RelatedLinks2ValueConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public string GetValue(Property property, ICollection<ArtifactDependency> depend
5656
{
5757
relatedLinks = JsonConvert.DeserializeObject<List<RelatedLinkUdiModel>>(value);
5858
}
59-
catch (JsonSerializationException ex)
59+
catch (JsonSerializationException)
6060
{
6161
// We might be transferring related links stored as int id, parse with ints instead.
6262

0 commit comments

Comments
 (0)