Closed ValentinaPC closed 6 years ago
@kumar303, I wonder if this is related to the new platform install feature?
On 28 Sep 2017, at 09:38, ValentinaPC notifications@github.com wrote:
Steps to reproduce:
Load details page for an add-on that is not compatible with your platform i.e. https://addons.allizom.org/en-US/firefox/addon/webext-no-platf/ See the installation button Expected results: The install button is disabled. A red banner saying that the add-on is not compatible with your platform is displayed.
Actual results: No banner regarding the add-on platform incompatibility. Install button is enabled. At click the switch is moved but the color is not turned to green. Add-on is not installed.
Notes/Issues: Verified on AMO-stage FF55(Win 7). Issue is also reproducing on -dev.
refreshing the page will put the switch button in its correct position. Screenshot for this issue:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@ValentinaPC could you provide details of which platforms are selected for this add-on?
@muffinresearch 👍
I wonder if this is related to the new platform install feature?
Yes, sort of. What's happening here is that no install URL exists for the add-on since it doesn't support the platform. However, why did the code even get that far.
Verified as fixed on AMO-dev FF56(Win 7). Postfix screenshot:
Steps to reproduce:
Expected results: The install button is disabled. A red banner saying that the add-on is not compatible with your platform is displayed.
Actual results: No banner regarding the add-on platform incompatibility. Install button is enabled. At click the switch is moved but the color is not turned to green. Add-on is not installed.
Notes/Issues: Verified on AMO-stage FF55(Win 7). Issue is also reproducing on -dev.