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

Fill missing information in resource files so they can be loaded correctly #12708

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ricardobossan
Copy link
Member

@ricardobossan ricardobossan commented Jan 3, 2025

Fixes #12686

Root Cause

  • Missing information in resource files prevents them from loading.

Proposed changes

  • Fill missing information in resource files so they can be loaded correctly.

Customer Impact

  • None

Regression?

  • No

Risk

  • Minimal

Screenshots

Before

Captura de tela 2025-01-03 123341
Captura de tela 2025-01-03 130420

After

Captura de tela 2025-01-03 125652
Captura de tela 2025-01-03 125638
Captura de tela 2025-01-03 125550
Captura de tela 2025-01-03 125834

Test methodology

  • Manual

Test environment(s)

  • 10.0.100-alpha.1.24573.1
Microsoft Reviewers: Open in CodeFlow

…ectly.

Fixes dotnet#12686

## Root Cause

- Missing information in resource files prevents them from loading.

## Proposed changes

- Fill missing information in resource files so they can be loaded
correctly.

## Customer Impact

- None

## Regression?

- No

## Risk

- Minimal

## Screenshots

### Before

### After

## Test methodology

- Manual

## Test environment(s)

- `10.0.100-alpha.1.24573.1`
@ricardobossan ricardobossan self-assigned this Jan 3, 2025
@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label Jan 3, 2025
@ricardobossan
Copy link
Member Author

Drafting this PR because I haven't been able to load resources for ToolStripContainer.resx. Its structure appears identical to other resource files that load correctly (e.g., DataControls.resx, Menu_Toolbars_controls.resx).

@LeafShi1 @Epica3055 @lonitra @Tanya-Solyanik – Do you have any insights on what might be missing here?

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.03702%. Comparing base (9007f33) to head (14bc8ca).
Report is 6 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #12708         +/-   ##
===================================================
+ Coverage   76.00638%   76.03702%   +0.03064%     
===================================================
  Files           3181        3181                 
  Lines         639670      639670                 
  Branches       47215       47215                 
===================================================
+ Hits          486190      486386        +196     
+ Misses        149968      149771        -197     
- Partials        3512        3513          +1     
Flag Coverage Δ
Debug 76.03702% <ø> (+0.03064%) ⬆️
integration 18.17416% <ø> (+0.12825%) ⬆️
production 49.83006% <ø> (+0.06502%) ⬆️
test 97.03197% <ø> (+0.00310%) ⬆️
unit 47.02744% <ø> (-0.02356%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@LeafShi1
Copy link
Member

LeafShi1 commented Jan 6, 2025

Do you have any insights on what might be missing here?

I can open it normally on my side. Do you get any errors?
image

@@ -127,7 +127,7 @@
<value>0</value>
</data>
<data name="byteViewer.Text">
<value />
<value xml:space="preserve">0</value>
Copy link
Member

Choose a reason for hiding this comment

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

This is not an equivalent change, we had a null test before and we have a "0" as a test now... I think that the empty value cases are a bug in the new resource designer. We shouldn't fix them.

Copy link
Member

Choose a reason for hiding this comment

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

I added some comments to the issue

@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft draft PR 📭 waiting-author-feedback The team requires more information from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anchor resource errors in ProgressDialog.resx Resource Explorer
3 participants