Skip to content
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

[SITES-22419] Follow up on SITES-19714 Fix Release #2796

Merged
merged 4 commits into from
Jun 27, 2024
Merged

[SITES-22419] Follow up on SITES-19714 Fix Release #2796

merged 4 commits into from
Jun 27, 2024

Conversation

YahorC
Copy link
Contributor

@YahorC YahorC commented Jun 24, 2024

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Minor: New Feature?
Major: Breaking Change?
Tests Added + Pass? Yes
Documentation Provided Yes (code comments and or markdown)
Any Dependency Changes?
License Apache License, Version 2.0

(https://jira.corp.adobe.com/browse/SITES-22419) Jira issue.
Adding this check, in order to get false result, when we have current page language code longer then from another list of pages (for example because of previous implementation when we have 2 under root with names zh and zh_cm component wont be able to show link to second one)

@YahorC YahorC requested a review from a team June 24, 2024 16:07
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.21%. Comparing base (7582ad6) to head (7a3712b).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2796      +/-   ##
============================================
+ Coverage     87.17%   87.21%   +0.03%     
- Complexity     2683     2687       +4     
============================================
  Files           235      235              
  Lines          7166     7170       +4     
  Branches       1094     1096       +2     
============================================
+ Hits           6247     6253       +6     
  Misses          363      363              
+ Partials        556      554       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LSantha
Copy link
Contributor

LSantha commented Jun 25, 2024

@YahorC , could you please add at least one unit test case for your fix, possibly using somewhat realistic path values like the ones mentioned in the ticket?

Copy link

@YahorC YahorC merged commit 90a8cfa into main Jun 27, 2024
14 checks passed
@YahorC YahorC deleted the SITES-22419 branch June 27, 2024 08:25
@LSantha LSantha added this to the 2.26.0 milestone Jun 27, 2024
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.

4 participants