Skip to content

SITES-30879: Unlocalized strings in Sites > Page Editor > Search component#3001

Open
alp87488 wants to merge 3 commits intoadobe:mainfrom
alp87488:issue/SITES-30879
Open

SITES-30879: Unlocalized strings in Sites > Page Editor > Search component#3001
alp87488 wants to merge 3 commits intoadobe:mainfrom
alp87488:issue/SITES-30879

Conversation

@alp87488
Copy link
Contributor

https://jira.corp.adobe.com/browse/SITES-30879

Pass localized messages from model

search
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

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

Copy link
Member

@vladbailescu vladbailescu left a comment

Choose a reason for hiding this comment

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

I think this is a good approach, yet in this form it is causing unit tests failures:

[INFO] Running com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest
Error:  Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.068 s <<< FAILURE! - in com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest
Error:  com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest.testSearchProperties_noPath  Time elapsed: 0.014 s  <<< FAILURE!
java.lang.AssertionError: 

Unexpected: i18nMessages

	at com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest.testSearchProperties_noPath(SearchImplTest.java:76)

Error:  com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest.testSearchProperties  Time elapsed: 0.012 s  <<< FAILURE!
java.lang.AssertionError: 

Unexpected: i18nMessages

	at com.adobe.cq.wcm.core.components.internal.models.v1.SearchImplTest.testSearchProperties(SearchImplTest.java:64)

@alp87488, tests for Search v1 and v2 need to updated

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