{"id":1113623,"date":"2016-05-11T23:23:09","date_gmt":"2016-05-12T06:23:09","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/"},"modified":"2016-05-17T19:37:56","modified_gmt":"2016-05-18T02:37:56","slug":"attendee-data-wiped-when-global-ticket-fieldsets-are-updated","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/","title":{"rendered":"Attendee data wiped when (global) Ticket Fieldsets are updated"},"content":{"rendered":"<p>A bit of a curly one for you. We are running The Events Calendar (4.1.3) and The Events Calendar PRO (4.1.2) on one of our client&#8217;s sites, with ticket purchasing (Event Tickets 4.1.3 and Events Tickets Plus 4.1.2 enabled) being run through WooCommerce.<\/p>\n<p>The site is running WordPress multisite 4.5.1.<\/p>\n<p>We&#8217;ve found what appears to be a bug in preserving data integrity.<\/p>\n<p>Here&#8217;s what happened:<\/p>\n<p>The client created a Ticket Fieldset. Client created a new event, and applied the Ticket Fieldset to the event. Attendees purchased tickets, then the client updated some of the fields within the Ticket Fieldset and the attendee data was wiped.<\/p>\n<p>When the client first came to us we were sure what had happened, so I created a sample fieldset and event to test the process and when you update a ticket fieldset (already associated with an event with attendees already registered) it does indeed delete the attendee data.<\/p>\n<p>I got our dev guys to check the database to see if the data was stored anywhere, but they confirmed it had been deleted.<\/p>\n<p>For the moment I&#8217;ve told our client not to use global ticket fieldsets, and once the event is created and attendees start registering to not touch the fieldsets. But, I&#8217;m wondering why there&#8217;s such a hole in the plugin to allow important data like this to be wiped?<\/p>\n<p>Shouldn&#8217;t the fields be &#8216;locked&#8217; (or some other fail safe mechanism) once attendees start registering?<\/p>\n<p>Or maybe I&#8217;ve missed something? Please help.<\/p>\n","protected":false},"template":"","class_list":["post-1113623","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Attendee data wiped when (global) Ticket Fieldsets are updated -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Attendee data wiped when (global) Ticket Fieldsets are updated -\" \/>\n<meta property=\"og:description\" content=\"A bit of a curly one for you. We are running The Events Calendar (4.1.3) and The Events Calendar PRO (4.1.2) on one of our client&#8217;s sites, with ticket purchasing (Event Tickets 4.1.3 and Events Tickets Plus 4.1.2 enabled) being run through WooCommerce. The site is running WordPress multisite 4.5.1. We&#8217;ve found what appears to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-18T02:37:56+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/\",\"name\":\"Attendee data wiped when (global) Ticket Fieldsets are updated -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-05-12T06:23:09+00:00\",\"dateModified\":\"2016-05-18T02:37:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Attendee data wiped when (global) Ticket Fieldsets are updated\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Attendee data wiped when (global) Ticket Fieldsets are updated -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/","og_locale":"en_US","og_type":"article","og_title":"Attendee data wiped when (global) Ticket Fieldsets are updated -","og_description":"A bit of a curly one for you. We are running The Events Calendar (4.1.3) and The Events Calendar PRO (4.1.2) on one of our client&#8217;s sites, with ticket purchasing (Event Tickets 4.1.3 and Events Tickets Plus 4.1.2 enabled) being run through WooCommerce. The site is running WordPress multisite 4.5.1. We&#8217;ve found what appears to [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/","article_modified_time":"2016-05-18T02:37:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/","name":"Attendee data wiped when (global) Ticket Fieldsets are updated -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-05-12T06:23:09+00:00","dateModified":"2016-05-18T02:37:56+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendee-data-wiped-when-global-ticket-fieldsets-are-updated\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Attendee data wiped when (global) Ticket Fieldsets are updated"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1113623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1113623\/revisions"}],"predecessor-version":[{"id":1113635,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1113623\/revisions\/1113635"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1113623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}