Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #268 from skttl/develop
Browse files Browse the repository at this point in the history
1.2.8
  • Loading branch information
skttl authored Nov 19, 2021
2 parents 070fc9b + 3fd1b6d commit baea08e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.2.8
- Fixes bug in DataValueReference for media tracking, where custom DTGEs were not recognized. 4db5cdd

## 1.2.7
- Fixes: Unable to save a component which previously failed validation #231
- Null-check for err object when submiting #236

## 1.2.6 - 2020-12-07
- Fix: Error saving temp blueprint
- Fix: issue when previewing linked content items
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: Visual Studio 2017

# version format
version: 1.2.7.{build}
version: 1.2.8.{build}

# UMBRACO_PACKAGE_PRERELEASE_SUFFIX if a rtm release build this should be blank, otherwise if empty will default to alpha
# example UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta
Expand Down
3 changes: 2 additions & 1 deletion docs/developers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
5. [Rendering a Doc Type Grid Editor](#rendering-a-doc-type-grid-editor)
1. [Rendering Alternative Preview Content](#rendering-alternative-preview-content)
2. [DocTypeGridEditorSurfaceController](#doctypegrideditorsurfacecontroller)
6. [Useful Links](#useful-links)
6. [Value Processors](#value-processors)
7. [Useful Links](#useful-links)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal GridValue DeserializeGridValue(string rawJson, out IEnumerable<DocTypeG
{
// Find all controls that uses DTGE editor
var controls = grid.Sections.SelectMany(x => x.Rows.SelectMany(r => r.Areas).SelectMany(a => a.Controls)).ToArray();
dtgeValues = controls.Where(x => x.Editor.Alias.ToLowerInvariant() == "doctype").Select(x => x.Value.ToObject<DocTypeGridEditorValue>());
dtgeValues = controls.Where(x => x.Value["dtgeContentTypeAlias"] != null).Select(x => x.Value.ToObject<DocTypeGridEditorValue>());
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ angular.module("umbraco").controller("Our.Umbraco.DocTypeGridEditor.Dialogs.DocT

function submit() {
if ($scope.model.submit) {
serverValidationManager.reset();
vm.saveButtonState = "busy";
$scope.model.node.name = "Dtge Temp: " + $scope.model.node.key;
$scope.model.node.variants[0].name = $scope.model.node.name
Expand Down

0 comments on commit baea08e

Please sign in to comment.