snapcraft.io icon indicating copy to clipboard operation
snapcraft.io copied to clipboard

Snap title in the store listing does not inherit the `title` field from the snap

Open brlin-tw opened this issue 7 years ago • 2 comments

Expected behaviour

When the snap sets the title field and the metadata has not overridden the value of the title field is applied to the snap's "Title" field in the store listing

Steps to reproduce the problem

  1. Set up a snap repository with the title field set
  2. Set up BSI with the repository
  3. Browse the snap listing page after the snap is published

Specs

  • URL: https://snapcraft.io/snap_identifier/listing
  • Operating system: Ubuntu 18.04 AMD64
  • Browser: Mozilla Firefox 65.0.1

brlin-tw avatar Mar 19 '19 10:03 brlin-tw

Any progress on this @Lukewh ?

I wouldn't mind taking a shot at this myself but I can't find where this metadata is imported into the store.

merlijn-sebrechts avatar Oct 22 '19 20:10 merlijn-sebrechts

I just promoted the OpenJFX Snap to the stable channel with the "Update metadata on release" setting enabled for the first time.

It looks as if the Title: in the store listing is being picked up from the name: top-level metadata in the snapcraft.yaml file. In this case, that was the "openjfx" lower-cased name. It should be getting the Title: in the store listing from the title: metadata in the snapcraft.yaml file, which is the properly-cased "OpenJFX" name.

I'll update the store listing manually until this is fixed.

Update 1: Actually, it seems I'm now unable to fix the title. I updated it manually to "OpenJFX" in the listing details form, but the store listing still shows "openjfx" for the title.

Update 2: And now it's fixed. There seems to have been a delay despite the message saying, "Updates to this information will appear immediately on the snap listing page."

jgneff avatar Sep 07 '21 18:09 jgneff

Any progress on this? This issue is still present today.

merlijn-sebrechts avatar Sep 20 '22 17:09 merlijn-sebrechts

We'll discuss this with the store team in our weekly meeting this afternoon. It appears to be an issue with inconsistent extraction from name and/or title fields. I'll add a comment to this issue later after the meeting.

Lukewh avatar Sep 21 '22 09:09 Lukewh

The issue has been raised with the store team, who will be prioritising the issue in their next sprint (starting next week).

Lukewh avatar Sep 21 '22 15:09 Lukewh

Hi,

I can confirm the title is being changed to the name when releasing a new revision to stable with Update metadata on release enabled We are working on a fix.

Cheers

verterok avatar Oct 03 '22 20:10 verterok

The fix is live on production, please let us know if it doesn't work as expected.

Cheers

verterok avatar Oct 05 '22 19:10 verterok

Thanks @verterok closing this issue.

Please reopen if needed anyone!

Lukewh avatar Oct 06 '22 09:10 Lukewh