Submitting a DST with a status of "Submitted" results in a server error

neqis
neqis

I submitted a new DST, then realized it needed an edit. I edited & saved the DST, then, not being sure if the edit would be part of the earlier DST submission, resubmitted. I got a 500 "Server Error" response to the form submission. I can't be certain the error is reproducible by the following steps, but it's my best guess as to how to do so.

Steps to reproduce


  1. Go to the master DST page
  2. Create a new DST.
  3. Submit the DST.
  4. From the master DST page, click the edit link for the DST.
  5. Edit & save the DST.
  6. From the master DST page, click the DST's name to open its page.
  7. Re-submit the DST.

To assist in debugging, here are reconstructions of the browser request & server response:

Request

POST https://www.obsidianportal.com/dynamic_sheet_templates/491/submit HTTP/2
authority: www.obsidianportal.com
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-language: en-US,en;q=0.9
cache-control: max-age=0
content-type: application/x-www-form-urlencoded
cookie: XXXX
dnt: 1
origin: https://www.obsidianportal.com
referer: https://www.obsidianportal.com/dynamic_sheet_templates/491
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: same-origin
sec-fetch-user: ?1
upgrade-insecure-requests: 1

utf8=%E2%9C%93&_method=put&authenticity_token=XXXX&dynamic_sheet_template%5Bsubmit_message%5D=Submit+message.&commit=submit

Response

HTTP/2 500
access-control-allow-methods: GET, POST, OPTIONS
access-control-allow-origin: *
access-control-expose-headers
access-control-max-age: 1728000
cf-cache-status: DYNAMIC
cf-ray: 745454d08ad730dd-SEA
content-type: text/html; charset=utf-8
date: Sun, 04 Sep 2022 05:30:07 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=uCh%2BGpH4PotJaNGd4o6x6DJtQZzbou4CLonc3xsu0PfXqgi4XN9cz3WsqftMA%2BJKzhO3CBNjr6h30fAqwIS5dSn9ZWd8av6%2FFXpJw%2BLIRm%2BZc6kCfklnqiql6dm%2FR2puRKzKGv8cewU%3D"}],"group":"cf-nel","max_age":604800}
server: cloudflare
set-cookie: AWSALB=XXXXXXXX; Expires=Sun, 11 Sep 2022 05:30:06 GMT; Path=/
set-cookie: AWSALBCORS=XXXXXXXX; Expires=Sun, 11 Sep 2022 05:30:06 GMT; Path=/; SameSite=None; Secure
vary: Origin
x-request-id: 87d9d1bb-c241-494c-9905-9ba605a012b1
x-runtime: 0.167836

Platform

OS
Mac OS 10.14.6
Browser
Chrome 105.0.5195.52

Comments

  • thaen
    thaen
    Posts: 962

    @neqis, thanks for pointing this out!  It happens any time you have a DST that's been Submitted (but nothing has happened with it yet, so it's still in the Submitted state), and then the DST is Submitted again.

    The DST is still in the Sumbitted state and so is pending Approval.  The only issue with the current way it works (other than the ugly error) is that any updated "Submit Notes" won't be saved.

    I should have it fixed soon.  I will report back when I do.

     

    Obsidian Portal Developer

  • thaen
    thaen
    Posts: 962

    @neqis, this should be fixed now.  Let me know if you see any issues.

    Obsidian Portal Developer

  • twiggyleaf
    twiggyleaf
    Posts: 1,920

    smiley

    "I met a traveller from an antique land....."

    CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.

    Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign

    Inner Council Member

Sign In or Register to comment.

September 2022
Merovia

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions