canonical / ubuntu.com

The official website for the Ubuntu operating system
https://ubuntu.com
Other
201 stars 201 forks source link

/advantage page displays truncated instructions with my account #5981

Closed dpb1 closed 5 years ago

dpb1 commented 5 years ago

website-bug

Hopefully the screenshot above shows where it breaks down.

pmahnke commented 5 years ago

@dpb1 which demo site where you using perhaps something isn't right with your account that the api isn't giving us your token?

solazio commented 5 years ago

@dpb1 can you please do a sudo ua status in your terminal and add here the output

solazio commented 5 years ago

@dpb1 @pmahnke I noticed that there is a bug on the website and the list of available commands you see on the website is not consistent with the info you get in your terminal doing sudo ua status. For example in the image below, I can see the ESM command as available even though in my terminal it clearly says I'm not entitled to ESM. image

However, as this information will be removed from the website, I'm proposing to close this issue.

pmahnke commented 5 years ago

@solazio you are meant to delete the Livepatch, ESM, FIPS and CC commands and replace with a new line. However, this bug suggests that what the server returned was NOT the key... and we should error better.

solazio commented 5 years ago

@dpb1 can you please access this link https://ubuntu-com-canonical-web-and-design-pr-5992.run.demo.haus/advantage and pshare with me the info you get in the Your free personal subscription. Thanks

dpb1 commented 5 years ago

Thanks, I tried the demo site and will send a paste over PM as it contains secrets.

On Tue, Oct 22, 2019 at 9:12 AM Ovidiu Suciu notifications@github.com wrote:

@dpb1 https://github.com/dpb1 can you please access this link https://ubuntu-com-canonical-web-and-design-pr-5992.run.demo.haus/advantage and pshare with me the info you get in the Your free personal subscription. Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/canonical-web-and-design/ubuntu.com/issues/5981?email_source=notifications&email_token=AAK2CGNKHQXL6ISPDYOA5VTQP4J57A5CNFSM4JDAUOH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB6DKTI#issuecomment-545011021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2CGNGT4ZLDGYXJEE5TMDQP4J57ANCNFSM4JDAUOHQ .

-- David Britton david.britton@canonical.com

solazio commented 5 years ago

Fixed in this PR https://github.com/canonical-web-and-design/ubuntu.com/pull/5999. Closing...