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-13771 - Content Fragment List component : Property Name is getting displayed to users rather than Field Label #2546

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

HollywoodTonight
Copy link
Contributor

@HollywoodTonight HollywoodTonight commented Jul 13, 2023

Q                       A
Fixed Issues? SITES-13771
Patch: Bug Fix? 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

Tries to get the multi text field from "cfm-element" key rather than from the fieldLabel key and falls back on the default value in case is doesn't find anything.

…to users rather than Field Label

For multi text field look for cfm-element key or fallback on the default value.
@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #2546 (1ea6dcd) into main (312e3d6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 1ea6dcd differs from pull request most recent head 0583083. Consider uploading reports for the commit 0583083 to get more accurate results

@@            Coverage Diff            @@
##               main    #2546   +/-   ##
=========================================
  Coverage     87.22%   87.22%           
- Complexity     2615     2616    +1     
=========================================
  Files           229      229           
  Lines          6972     6974    +2     
  Branches       1054     1055    +1     
=========================================
+ Hits           6081     6083    +2     
  Misses          358      358           
  Partials        533      533           
Impacted Files Coverage Δ
...ontentfragment/ModelElementsDataSourceServlet.java 90.00% <100.00%> (+0.52%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarcloud
Copy link

sonarcloud bot commented Jul 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@HollywoodTonight HollywoodTonight merged commit 530f26c into main Jul 14, 2023
15 checks passed
@HollywoodTonight HollywoodTonight deleted the SITES-13771 branch July 14, 2023 09:09
@LSantha LSantha added this to the 2.23.2 milestone Jul 26, 2023
@LSantha LSantha changed the title SITES-13771 Content Fragment List component : Property Name is getting displayed to users rather than Field Label SITES-13771 - Content Fragment List component : Property Name is getting displayed to users rather than Field Label Jul 26, 2023
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.

None yet

3 participants