-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: not using the default template when the custom template does not exist #4618
Conversation
/cherry-pick release-2.9 |
@guqing: once the present PR merges, I will cherry-pick it on top of release-2.9 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## main #4618 +/- ##
============================================
+ Coverage 61.04% 61.11% +0.06%
- Complexity 2566 2571 +5
============================================
Files 374 374
Lines 13168 13173 +5
Branches 938 939 +1
============================================
+ Hits 8039 8051 +12
+ Misses 4676 4669 -7
Partials 453 453
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
application/src/main/java/run/halo/app/theme/router/ViewNameResolver.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
application/src/test/java/run/halo/app/theme/router/ViewNameResolverTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@guqing: new pull request created: #4648 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind bug
/area core
/milestone 2.10.x
What this PR does / why we need it:
修复文章自定义模板不存在时没有使用默认模板的问题
see #4617 for more details.
Which issue(s) this PR fixes:
Fixes #4617
Does this PR introduce a user-facing change?