Skip to content

Username Cleared When Editing Confirmed Ticket Without Login #1462

Closed
@MakarandMane

Description

@MakarandMane
          @StevenDufresne There are some more issue I have report about this. 

Bug Report: Username Cleared When Editing Confirmed Ticket Without Login

Steps to Reproduce:

  1. In WordPress admin, navigate to wp-admin → Tickets → Attendees and filter Published tickets.
  2. Select a confirmed ticket that has a username attached.
  3. Copy the unique edit URL for that ticket.
  4. Open a new incognito window or log out of the website.
  5. Paste the edit URL in the browser and attempt to modify the ticket.
  6. Save the changes.

Expected Behavior:

  • The username associated with the confirmed ticket should not be cleared.

Actual Behavior:

  • The username field gets cleared after editing the ticket while not being logged in.

Additional Context:

  • A previous fix restricted unconfirmed tickets from being edited without logging in.
  • However, confirmed tickets are now affected when edited via the unique URL without authentication.

Priority: Medium (Affects data integrity for confirmed tickets)

Suggested Fix:

  • Ensure that the username is preserved when editing confirmed tickets, even if the user is not logged in.
  • Validate the ticket edit process to maintain username data integrity.

Originally posted by @MakarandMane in #1421 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions