canonical / snapcraft.io

The official website's repository for the Snap store
https://snapcraft.io/
Other
144 stars 107 forks source link

Changing title of the snap fails with: Item 6 in the array did not validate: This field is required. #951

Closed jibel closed 5 years ago

jibel commented 6 years ago

Expected behaviour

I'm trying to update the title of this snap https://snapcraft.io/account/snaps/sweethome3d-homedesign/listing to "Sweet Home 3D" and it fails with this error:

Item 6 in the array did not validate: This field is required.

It used to work. Besides each time I update the snap, the logo and the title are reset in the store.

Steps to reproduce the problem

Go to https://snapcraft.io/account/snaps/sweethome3d-homedesign/listing , update the title and save the page.

Specs

Lukewh commented 6 years ago

Thanks for the report @jibel. We'll look into the 'Item 6 in the array did not validate' issue as this is new to us.

The issue with metadata being reset on snap update is a known issue and is being looked at by the store API team, I'll hopefully be able to update you on progress later this week.

noise commented 6 years ago

Store bug is https://bugs.launchpad.net/snapstore/+bug/1782368

Lukewh commented 6 years ago

This appears to have been fixed so closing this issue.

Please reopen it if the issue isn't resolved.

jibel commented 6 years ago

This is not fixed and still reproducible on this page https://snapcraft.io/account/snaps/sweethome3d-homedesign/listing by changing the title to "Sweet Home 3D" and saving the changes.

Meanwhile could you update the title until this issue is fixed?

jibel commented 5 years ago

Any news on this topic? I just verified and the bug still exists and it makes the package information not look very nice and professional.

Lukewh commented 5 years ago

@jibel sorry you're still experiencing this bug. We're still looking in to it but as the issue is only affecting a small number of users it's hard to track down, please bear with us :)

tg123 commented 5 years ago

Same issue here: Listing-details-for-sshpiperd

snapcraft.yaml https://github.com/tg123/sshpiper/blob/master/sshpiperd/snap/snapcraft.yaml

snap url <https://snapcraft.io/sshpiperd >

build/push locally

image

jibel commented 5 years ago

@Lukewh Since I can reproduce reliably, how can I help you?

Lukewh commented 5 years ago

@jibel if possible could you add me as a collaborator on your snap (you can remove me again at any point) by visiting https://dashboard.snapcraft.io/snaps/sweethome3d-homedesign/collaboration/ and adding luke.wesley-holley@canonical.com... This way I can do some more in-depth logging locally with a snap that is known to be experiencing this issue.

jibel commented 5 years ago

On 28/06/2019 11:14, Luke Wesley-Holley wrote:

@jibel https://github.com/jibel if possible could you add me as a collaborator on your snap (you can remove me again at any point) by visiting https://dashboard.snapcraft.io/snaps/sweethome3d-homedesign/collaboration/ and adding luke.wesley-holley@canonical.com mailto:luke.wesley-holley@canonical.com... This way I can do some more in-depth logging locally with a snap that is known to be experiencing this issue.

Done. Let me know if you need anything else.

-- Jean-Baptiste Lallement Canonical Services Ltd. IRC: jibel

Lukewh commented 5 years ago

@jibel @tg123 you should now both be able to save you snaps. @jibel I've updated yours already. Please revoke my collaborators access, it was very useful thanks :)!

jibel commented 5 years ago

I confirm that updating the title and the icon is now working. Thank you so much!