Closed
Bug 749043
Opened 12 years ago
Closed 11 years ago
Installing two applications with different manifest metadata from the same origin results in 2nd app manifest data overwriting the 1st app's manifest data, but the 1st app manifest data has shortcuts left behind
Categories
(Firefox Graveyard :: Web Apps, defect, P2)
Tracking
(firefox16 wontfix)
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox16 | --- | wontfix |
People
(Reporter: jsmith, Unassigned)
References
Details
(Whiteboard: [testday-20120629])
Steps: 1. Go to apps.mozillalabs.com/appdir 2. Install Zilzer or Roundball natively 3. Install the other app not installed in step 2 4. Find the Zilzer and Roundball references (e.g. desktop shortcut, start menu) Expected: Needs to be better defined, but this is not allowed in the current design of the mozapps API. The problem here is that a developer screws up and uses the mozapps API incorrectly to allow two apps to be installed off the same origin, the consumer of the application suffers. I would expect the correct behavior would be a need to handle this issue more gracefully to the consumer (e.g. a 500 error?). Actual: Both applications are installed with the icon of the first app that was installed. Trying to use the first app with any shortcuts will show them the error that the application no longer exists. Additional Notes: If the developer screws up with their server configuration, the consumer the app should suffer minimally. We should find a way to reduce the cost of the developer's mistake, as it should not be at the expense of the consumer heavily (fail gracefully).
Reporter | ||
Updated•12 years ago
|
Whiteboard: [marketplace-beta-]
Comment 1•12 years ago
|
||
From what I know, an application is identified by its origin, so two applications cannot exist from the same origin
Comment 2•12 years ago
|
||
nvm, I see that you mentioned this in the Expected block
Comment 3•12 years ago
|
||
I think the expected behavior here is that the first app is completely removed and the second one replaces it. It sounds like the bug is that shortcuts were left over from the installation of the first app.
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Tim Abraldes from comment #3) > I think the expected behavior here is that the first app is completely > removed and the second one replaces it. It sounds like the bug is that > shortcuts were left over from the installation of the first app. Yup, that's correct.
Reporter | ||
Updated•12 years ago
|
Priority: -- → P3
Reporter | ||
Updated•12 years ago
|
Target Milestone: --- → Firefox 15
Reporter | ||
Updated•12 years ago
|
Whiteboard: [marketplace-beta-]
Updated•12 years ago
|
Target Milestone: Firefox 15 → ---
Reporter | ||
Comment 5•12 years ago
|
||
Note - This issue applies to linux as well.
Reporter | ||
Comment 6•12 years ago
|
||
Marking for re-triage - so apparently this could be problematic in a scenario where an app developer decides to update the name of their existing application as well. This could prove to be a problem for if a user needs to install a newer version of an app.
Priority: P3 → --
Reporter | ||
Updated•12 years ago
|
Summary: Installing two applications from the same origin results in 2nd app overwriting the 1st app, but the 1st app has shortcuts left behind → Installing two applications with different manifest metadata from the same origin results in 2nd app manifest data overwriting the 1st app's manifest data, but the 1st app manifest data has shortcuts left behind
Reporter | ||
Updated•12 years ago
|
Priority: -- → P2
Comment 8•12 years ago
|
||
The shortcuts names are AppName + ".lnk", so it isn't so simple to delete them if the developer changes the name of the application.
Comment 9•12 years ago
|
||
I can confirm this on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0. Shouldn't the expected behaviour be that no app overwrites the other? The end user might want to have both apps installed at the same time.
Whiteboard: [testday-20120629]
Comment 10•12 years ago
|
||
(In reply to Jonah Ho (FireChemist) from comment #9) > Shouldn't the expected behaviour be that no app overwrites the other? The > end user might want to have both apps installed at the same time. We allow a single app for each origin.
Reporter | ||
Updated•12 years ago
|
QA Contact: jsmith
Reporter | ||
Updated•12 years ago
|
status-firefox16:
--- → wontfix
Comment 11•11 years ago
|
||
We're going to support multiple apps per origin and this won't be valid anymore. In the meantime we're forbidding reinstallations, so this isn't valid anyway.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•