Allow node templates names to use UUID

Created on 12 December 2017, over 7 years ago
Updated 21 March 2025, about 1 month ago

Problem/Motivation

Currently node templates can be named to target a specific node by ID, but this is not universally unique. Especially sites with default content and content moderation. Though we have option to target by path, it could be tricky as it's not stored against node and not revisionable.

Proposed resolution

Since D8 has UUID, we could add it as suggestion. It could be a simple solution to solve theming problem for nodes.

Remaining tasks

User interface changes

N/A

API changes

Not sure introducing new theme is an API change. but we would get a new API in a way(?)

Data model changes

No.

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
Node systemΒ  β†’

Last updated about 3 hours ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom timmillwood 🏴󠁧󠁒󠁷󠁬󠁳󠁿 Wales, UK

Live updates comments and jobs are added and updated live.
  • needs profiling

    It may affect performance, and thus requires in-depth technical reviews and profiling.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β†’ as a guide.

    This still needs profiling.

    Also curious if there's any security implication with this.

  • First commit to issue fork.
  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Rerolled #24 onto an MR against 11.x

    There is one big issue though - UUIDs contain hyphens which is considered an invalid suggestion by our twig engine so we need to replace them with underscores.

  • Pipeline finished with Canceled
    about 1 month ago
    Total: 409s
    #453660
  • Pipeline finished with Failed
    about 1 month ago
    Total: 157s
    #453664
  • Pipeline finished with Success
    about 1 month ago
    Total: 661s
    #453665
Production build 0.71.5 2024