Skip to content

Conversation

@AndyButland
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Description

There's a typo in the UmbracoPageController.EnsurePhysicalViewExists method name (it was EnsurePhsyicalViewExists). This PR fixes that in a backward compatible way.

Testing

Verify that templates still render.

Copilot AI review requested due to automatic review settings October 10, 2025 12:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a spelling mistake in the method name EnsurePhsyicalViewExists to EnsurePhysicalViewExists while maintaining backward compatibility through an obsolete wrapper method.

  • Fixed the typo "Phsyical" to "Physical" in the method name
  • Added backward-compatible obsolete method to prevent breaking changes
  • Updated all references to use the correctly spelled method name

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Umbraco.Web.Common/Controllers/UmbracoPageController.cs Added correctly spelled method, marked old method as obsolete, and updated internal usage
src/Umbraco.Web.Common/Controllers/RenderController.cs Updated method call to use the correctly spelled method name

Copy link
Contributor

@kjac kjac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent 😄

@kjac kjac enabled auto-merge (squash) October 10, 2025 12:27
@kjac kjac merged commit 3df8b9e into main Oct 10, 2025
25 checks passed
@kjac kjac deleted the v16/task/method-name-spelling-error-fix branch October 10, 2025 13:00
AndyButland added a commit that referenced this pull request Oct 10, 2025
* Fixed spelling mistake in method name.

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Kenn Jacobsen <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants