urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

Cannot archive chat channel in group #1041

Closed rivmud-fabwen closed 3 years ago

rivmud-fabwen commented 3 years ago

Describe the bug I created a group under the star ~holnes, and made the planet ~rivmud-fabwen an admin. As ~rivmud-fabwen I created a chat channel, but decided I would rather create the channel as ~holnes. I tried to archive the channel (both as ~holnes and as ~rivmud-fabwen) but it failed for both. As ~rivmud-fabwen the popup simply disappeared, but as ~holnes there was a red error message on the archive button.

When I tried to archive the channel as ~rivmud-fabwen, I found the following error message the dev tools' network tab (this does not appear when I try the same thing as ~holnes):

There was an error while handling the request for /spider/graph-view-action/graph-delete/json.json.

syntax error
{1 2}
[%key 'ship']
/lib/resource/hoon:<[52 3].[56 5]>
[%dejs %resource]
/lib/resource/hoon:<[51 3].[56 5]>
[%key 'resource']
[%key 'delete']
/app/spider/hoon:<[308 17].[308 32]>
/app/spider/hoon:<[308 5].[308 33]>
/app/spider/hoon:<[307 3].[313 16]>
/app/spider/hoon:<[305 3].[313 16]>
/app/spider/hoon:<[304 3].[313 16]>
/app/spider/hoon:<[299 3].[313 16]>
/app/spider/hoon:<[295 3].[313 16]>
/app/spider/hoon:<[294 3].[313 16]>
/app/spider/hoon:<[293 3].[313 16]>
/app/spider/hoon:<[292 3].[313 16]>
/app/spider/hoon:<[291 3].[313 16]>
/app/spider/hoon:<[290 3].[313 16]>
/app/spider/hoon:<[288 3].[313 16]>
/app/spider/hoon:<[287 3].[313 16]>
/app/spider/hoon:<[286 3].[313 16]>
/app/spider/hoon:<[210 9].[210 70]>
/app/spider/hoon:<[204 7].[211 9]>
/app/spider/hoon:<[203 5].[212 17]>
/app/spider/hoon:<[201 5].[212 17]>
/app/spider/hoon:<[200 5].[212 17]>
/sys/vane/gall/hoon:<[1.374 9].[1.374 37]>

To Reproduce Steps to reproduce the behavior:

  1. Create a group as a star
  2. Invite a planet and made that planet an admin
  3. Create a chat channel as that planet
  4. Attempt to archive that channel as either the star or the planet.

Expected behavior I expect to be able to archive a channel as any admin in a group.

Screenshots The "Remove " button after clicking it as ~holnes: image I see the following error in my dev tool console as ~holnes: image

Desktop (please complete the following information):

matildepark commented 3 years ago

Fixed in urbit/urbit#5090 (incoming)