Closed
Bug 1142572
Opened 10 years ago
Closed 10 years ago
Use displayName from ManifestHelper to abstract short_name vs. name properties
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
2.2 S9 (3apr)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: sfoster, Assigned: sfoster)
References
Details
(Whiteboard: [systemsfe])
Attachments
(2 files, 2 obsolete files)
Since the patch in bug 1137501 landed, we have a displayName property to better abstract away the use of short_name vs. name from the manifest. We should go back and fix those `name || short_name` uses for consistency and simplicity's sake.
If I'm understanding this bug correctly, I think this is the reason why l10n is broken for translations for apps?
blocking-b2g: --- → 2.2?
Flags: needinfo?(sfoster)
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #1)
> If I'm understanding this bug correctly, I think this is the reason why l10n
> is broken for translations for apps?
If the ManifestHelper or local_name changes are implicated in broken translations (which I dont *think* it is?) we should look at some of the other dependants of bug 1001861 where these changes were originally implemented. Making the changes called for by this bug shouldnt fix anything broken in those other bug; this is just some code clean up.
Flags: needinfo?(sfoster)
Updated•10 years ago
|
blocking-b2g: 2.2? → ---
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8580895 [details] [review]
[gaia] sfoster:manifest-displayname-bug-1142572 > mozilla-b2g:master
This bug covers going back and consolidating our use of the ManifestHelper's displayName property instead of (short_name | name) logic.
r? alive for system AppWindow and (Card view) Card parts. As we've pushed the short_name vs name down to the ManifestHelper, we can get rid of the AppWindow.prototype.shortName entirely. It had a short life.
r? christian for bookmark editor
r? arthur for settings
Attachment #8580895 -
Flags: review?(crdlc)
Attachment #8580895 -
Flags: review?(arthur.chen)
Attachment #8580895 -
Flags: review?(alive)
Comment 5•10 years ago
|
||
Comment on attachment 8580895 [details] [review]
[gaia] sfoster:manifest-displayname-bug-1142572 > mozilla-b2g:master
Looks good to me, thanks.
Attachment #8580895 -
Flags: review?(arthur.chen) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8580895 [details] [review]
[gaia] sfoster:manifest-displayname-bug-1142572 > mozilla-b2g:master
Good job, thanks a lot
Attachment #8580895 -
Flags: review?(crdlc) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8580895 [details] [review]
[gaia] sfoster:manifest-displayname-bug-1142572 > mozilla-b2g:master
Thanks!
Attachment #8580895 -
Flags: review?(alive) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
http://docs.taskcluster.net/tools/task-graph-inspector/#pFs2EBqvSQKlJd8Wzlqrcw
The pull request failed to pass integration tests. It could not be landed, please try again.
Assignee | ||
Comment 9•10 years ago
|
||
Gaia currently closed, r+'d, tests are green, please land when it opens
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 10•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/29023
Autolander could not land the pull request due to not having collaborator rights. This is possibly due to a tree closure. Please check the tree status and request checkin again once the tree is open.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
http://docs.taskcluster.net/tools/task-graph-inspector/#mi6GtyXST3eJb0S2gyNw-w
The pull request failed to pass integration tests. It could not be landed, please try again.
Assignee | ||
Comment 12•10 years ago
|
||
This patch has had a green test run on https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=dedd57b4d1917c10f6017725454077bb549daa03, but trying to land since gaia re-opened and I get a bunch of taskcluster failures, like:
fatal: unable to access 'https://github.com/mozilla-b2g/gaia/': transfer closed with outstanding read data remaining
I'll close and re-open the PR to give it another shot, but as I'm out on PTO could you push this over the finish line? Thanks!
Flags: needinfo?(mhenretty)
Whiteboard: [systemsfe] → [systemsfe] [checkin-needed]
Comment 13•10 years ago
|
||
Assignee: nobody → sfoster
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Flags: needinfo?(mhenretty)
Resolution: --- → FIXED
Whiteboard: [systemsfe] [checkin-needed] → [systemsfe]
Target Milestone: --- → 2.2 S9 (3apr)
Comment 14•10 years ago
|
||
Backed out for Gij1 failures on TC.
https://github.com/mozilla-b2g/gaia/commit/37cfde85cdf74142fdf1f1dec5f1329e8f8d6352
Revert commit: https://github.com/mozilla-b2g/gaia/commit/37cfde85cdf74142fdf1f1dec5f1329e8f8d6352
Adding a needinfo to myself to try to shepherd this to landing after a green run.
Status: RESOLVED → REOPENED
Flags: needinfo?(kgrandon)
Resolution: FIXED → ---
Comment 15•10 years ago
|
||
Comment 16•10 years ago
|
||
Updated•10 years ago
|
Attachment #8584751 -
Attachment is obsolete: true
Flags: needinfo?(kgrandon)
Comment 17•10 years ago
|
||
Ben - it looks like Sam is out and I'm not entirely sure what the correct behavior is supposed to be here. This is a screenshot when the test times out. Does this screen look correct to you? Do you want to look at this before Sam gets back from PTO?
Flags: needinfo?(bfrancis)
Comment 18•10 years ago
|
||
I've commented on the pull request with what I think the problem is. I'm not sure when Sam is back but I can take this if he doesn't get back soon.
Flags: needinfo?(bfrancis)
Updated•10 years ago
|
blocking-b2g: --- → 2.2?
Updated•10 years ago
|
blocking-b2g: 2.2? → ---
Comment 19•10 years ago
|
||
Assignee | ||
Comment 20•10 years ago
|
||
(In reply to Ben Francis [:benfrancis] from comment #18)
> I've commented on the pull request with what I think the problem is. I'm not
> sure when Sam is back but I can take this if he doesn't get back soon.
Thanks for catching that Ben (and Gij!), it was my oversight not noticing WebManifestHelper vs. ManifestHelper. I think that should be good to go now it the tests go green.
Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8586337 [details] [review]
[gaia] sfoster:manifest-displayname-r2-bug-1142572 > mozilla-b2g:master
Sorry to bug you again, but attachment #8580895 [details] [review] landed then was backed out for causing Gij failures. I've removed the erroneous bookmarks app changes - the rest of the patch is unchanged from what you saw before.
Attachment #8586337 -
Flags: review?(arthur.chen)
Attachment #8586337 -
Flags: review?(alive)
Assignee | ||
Comment 22•10 years ago
|
||
Comment on attachment 8580895 [details] [review]
[gaia] sfoster:manifest-displayname-bug-1142572 > mozilla-b2g:master
This patch landed but backed out. Updated PR in attachment #8586337 [details] [review]
Attachment #8580895 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8586337 -
Flags: review?(arthur.chen) → review+
Comment 23•10 years ago
|
||
Comment on attachment 8586337 [details] [review]
[gaia] sfoster:manifest-displayname-r2-bug-1142572 > mozilla-b2g:master
WFM
Attachment #8586337 -
Flags: review?(alive) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 24•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/ece334a1a93af6c77b423ba9bdf5a3a0d0712eca
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•