~sircmpwn/sr.ht-discuss

1

Project creation error resets visibility option

Details
Message ID
<CJ5SEF4HBSQ5.2N6Y2AG1CUDQZ@arctic>
DKIM signature
pass
Download raw message
Hi Sourcehut devs,

When creating my first projects on the project hub, I noticed the
"project visibility" option resets (to "public") if there is an error in
any of the other fields on the page on submission.

I'm pretty sure this is a bug, and if not, it has caught me off guard
a couple of times already; making projects that were supposed to be
private/unlisted, public.

Repro steps:

  1. Go to sr.ht
  2. Click "Create new project"
  3. Enter project name
  4. Enter description
  5. Enter *4* tags
  6. Select project visibility "private" or "unlisted"
  7. Click "Create project"

It will error on too many tags, and the visibility option will reset to
"public".

Thanks,
Alex
Details
Message ID
<CJ7C01PFJV4B.1DEBNZL2UN5FP@taiga>
In-Reply-To
<CJ5SEF4HBSQ5.2N6Y2AG1CUDQZ@arctic> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Addressed in d292f65f1fb24a32c847e2affa2db47eee2fb3a5

Thanks!
Reply to thread Export thread (mbox)