-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fixed different app author scenarios not working #29381
Conversation
Codecov Report
@@ Coverage Diff @@
## master #29381 +/- ##
============================================
+ Coverage 60.21% 61.27% +1.05%
- Complexity 17188 17472 +284
============================================
Files 1030 1044 +14
Lines 57274 57676 +402
============================================
+ Hits 34490 35343 +853
+ Misses 22784 22333 -451
Continue to review full report at Codecov.
|
settings/js/admin-apps.js
Outdated
app.author = app.author.join(', '); | ||
} | ||
|
||
if (_.isObject(app.author) && !_.isUndefined(app.author['@value'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work if app.author is an array of objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point 😁. I will ivestigate and update the code.
would be good to add a JS unit test, at least of the parse author logic and its two code paths. You can use |
Ok, i will have a look at it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thanks
I've restarted the Travis tests, let's hope it was a one-time thing |
Hm doesn´t look that good 😞. Are these errors related to my changes? |
The Travis tests that fail are the UI tests - that is because this PR is from a forked repo, so the SauceLabs credentials are not available to the job. |
Thanks for the clarification :) |
I pushed this branch into my fork, where I have my own SauceLabs credentials. |
@splitt3r can you backport to stable10 ? Basically create a branch off stable10, cherry pick your commits and send a PR from that branch to stable10. If not let us know and we'll take care. |
Care taken :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
If there are multiple app authors or the app author adds email / url to tag in info.xml oC is not able to display the information correctly.
Examples:
Related Issue
PR #29221 is somehow related.
How Has This Been Tested?
Tested in FF, Chrome and Edge
Screenshots (if appropriate):
Types of changes
Checklist: