question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The Insert Value dialog (template editor) is not outputting the correct markup for built in properties

See original GitHub issue

Updated Report

The issue here is that the Query builder is not outputting the correct values for ‘built in’ properties like ‘pageName’ (which is just Model.Name) see https://github.com/umbraco/Umbraco-CMS/issues/5437#issuecomment-490871090

Same issue goes for other built in values like created date, etc…

Original Report

Rendering standard fields using Umbraco Helper does not work.

Steps to reproduce:

  • Install fresh V8 (latest - 8.0.2) and install a starter kit
  • Go to any template and insert @Model.Value("pageName") for example
  • You will see that nothing gets returned.

And this issue is with all standard field (pageName, CreateDate, level etc) Custom fields are rendered just fine, for example @Model.Value("companyName")

Expected result

If you are rendering @Model.Value("pageName") then you’d expect that Umbraco will return the name of the specific page.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Shazwazzacommented, May 9, 2019

ok, that’s the bug then, i’ll update the title

0reactions
umbrabotcommented, Mar 7, 2021

Hiya @dzordzs,

Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more.

We will close this issue for now but we’re happy to open it up again if you think it’s still relevant (for example: it’s a feature request that’s not yet implemented, or it’s a bug that’s not yet been fixed).

To open it this issue up again, you can write @umbrabot still relevant in a new comment as the first line. It would be super helpful for us if on the next line you could let us know why you think it’s still relevant.

For example:

@umbrabot still relevant This bug can still be reproduced in version x.y.z

This will reopen the issue in the next few hours.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

the insert value dialog template editor is not outputting ...
The Insert Value dialog (template editor) is not outputting the correct markup for built in properties. Using Umbraco And Getting Started. Umbraco 8....
Read more >
The Dialog element - HTML: HyperText Markup Language
The HTML element represents a dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
Read more >
Building a dialog component - web.dev
A foundational overview of how to build color-adaptive, responsive, and accessible mini and mega modals with the element.
Read more >
The Content Template element - HTML - MDN Web Docs
The HTML element is a mechanism for holding HTML that is not to be rendered ... property (without an equivalent content/markup attribute).
Read more >
Retrieving and displaying data with model binding ...
This series of tutorials demonstrates basic aspects of using model binding with an ASP.NET Web Forms project. Model binding makes data ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found