top of page

Support Ticket Details

Ticket Number: ID1709681894593

Date Submitted: 3/5/2024

Ticket Status (open/closed/working): Closed

Ticket Type: Site Technical Issue

P1 - Urgent

Site Version: V1.41

Submitter: Mark Hennebger

Email:

Screenshots Attached: 

none

Documents Attached:

none

Why submitted:

If user hits back after typing validation code, validation collection entries get made again creating duplicates.

Mod backend code to check for already being verified member before running code make verified.

 

This should be a priority item

Recommended Action: 

Fixed in Version 1.42 Following function added to backend to securely clean up data base after verification : // clean up function to eliminate duplicate entries in the VM DB async function cleanupDuplicateVerifiedMembers(userId) { try { const results = await wixData.query("VerifiedMembers") .eq("memberId", userId) .find(); // Check if more than one entry exists for the user if (results.items.length > 1) { console.log(`Cleaning up duplicates for user ${userId}. Total found: ${results.items.length}`); // Iterate through all items except the first one and delete them for (let i = 1; i

Resolution

Subscribe to NR-HA  Newsletter

Thanks for submitting!

Send an email to support@nr-ha.org to unsubscribe.

The Naval Reactors Historical Association (NR-HA) is a private, self-supporting, IRC 501(c)(3) non-profit, non-federal entity.  NR-HA supports the U.S. military, its veterans, as well as past and present federal employees that worked at Naval Reactors; however, it is not officially connected to or endorsed by the U.S. Department of Energy, U.S. Department of Defense, or any of their branches or departments including Naval Reactors.

This site is not considered subject to DOD prepublication review.  See https://www.nr-ha.org/about for additional information in this regard.

  • Linkedin
Version 5.05
bottom of page