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

Lf/retrieve and open doesnt handle types with xml only files #2635

Merged

Conversation

LisandroFernandezSF
Copy link
Contributor

What does this PR do?

When the 'Retrieve and open' feature is performed and there is no file extension defined, it opens the '-meta.xml' file by default.

What issues does this PR fix or reference?

@W-8193920@

Functionality Before

When there wasn't a definition on MetadataDictionary the feature didn't open any file

Functionality After

When there isn't a definition on MetadataDictionary, the feature opens '-meta.xml' file by default.

@LisandroFernandezSF LisandroFernandezSF requested a review from a team as a code owner October 15, 2020 17:19
@codecov
Copy link

codecov bot commented Oct 15, 2020

Codecov Report

Merging #2635 into develop will decrease coverage by 0.01%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2635      +/-   ##
===========================================
- Coverage    76.48%   76.47%   -0.02%     
===========================================
  Files          300      300              
  Lines        10725    10732       +7     
  Branches      1191     1191              
===========================================
+ Hits          8203     8207       +4     
- Misses        2199     2202       +3     
  Partials       323      323              
Impacted Files Coverage Δ
...ceSourceRetrieveMetadata/forceSourceRetrieveCmp.ts 63.63% <71.42%> (-0.95%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcaa832...c4543e9. Read the comment docs.

}
} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have any tests covering this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Copy link
Contributor

@lcampos lcampos left a comment

Choose a reason for hiding this comment

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

🚢

@lcampos lcampos merged commit fc91c0b into develop Oct 20, 2020
@lcampos lcampos deleted the lf/Retrieve-and-open-doesnt-handle-types-with-xml-only-files branch October 20, 2020 00:40
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

2 participants