{"id":1008966,"date":"2015-09-26T12:34:12","date_gmt":"2015-09-26T19:34:12","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/"},"modified":"2015-10-15T07:05:06","modified_gmt":"2015-10-15T14:05:06","slug":"submitted-new-organizer-is-pending-even-after-event-is-published","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/","title":{"rendered":"Submitted new organizer is pending even after event is published"},"content":{"rendered":"<p>Got a fun bug for ya!<\/p>\n<p><strong>Expected behavior<\/strong><\/p>\n<p>Normally, when submitting an event through the Community Events form, you can add a new organizer as part of the process. If community event submissions are set to &#8220;pending&#8221; by default, then when the admin publishes the event, the new organizer is published at the same time. <\/p>\n<p><strong>Buggy behavior<\/strong><\/p>\n<p>However, in Community Events 3.11, when submitting an event with multiple organizers, the new organizer is published ONLY WHEN the new organizer is the first one on the list of organizers for that event. When the first organizer is an existing organizer, and a new performer is added below it, the new performer doesn&#8217;t get published when the event is published.<\/p>\n<p><strong>Steps to reproduce the bug<\/strong><\/p>\n<p>&#8211; Set default Community Event status to &#8220;pending&#8221;.<br \/>\n&#8211; Fill out the community events form, using an <strong>existing<\/strong> organizer. Below it, add a <strong>new<\/strong> organizer as the second organizer.<br \/>\n&#8211; Submit the event.<br \/>\n&#8211; The event should be submitted successfully, and both the event and the new organizer are pending, as expected.<br \/>\n&#8211; Then go into the admin interface to review and publish the event.<br \/>\n&#8211; Notice that the event is published, <strong>but the new organizer is still pending<\/strong>. (You can see this by looking at the Organizers page, where it is tagged &#8220;pending,&#8221; and also by looking at the new organizer&#8217;s URL.)<\/p>\n<p>By contrast, if you reverse the order in which organizers are added to the event, the new organizer IS published, as it should be:<\/p>\n<p>&#8211; Fill out the community events form, using a <strong>new<\/strong> organizer. Below it, add an <strong>existing<\/strong> organizer as the second organizer.<br \/>\n&#8211; Upon publication, the event and new organizer are both published, as expected.<\/p>\n<p>To reproduce the bug, you MUST make the first organizer(s) existing ones, and then add a new one below. You can do this all in a single submission process.<\/p>\n","protected":false},"template":"","class_list":["post-1008966","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>Submitted new organizer is pending even after event is published -<\/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\/submitted-new-organizer-is-pending-even-after-event-is-published\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Submitted new organizer is pending even after event is published -\" \/>\n<meta property=\"og:description\" content=\"Got a fun bug for ya! Expected behavior Normally, when submitting an event through the Community Events form, you can add a new organizer as part of the process. If community event submissions are set to &#8220;pending&#8221; by default, then when the admin publishes the event, the new organizer is published at the same time. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-15T14:05:06+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/\",\"name\":\"Submitted new organizer is pending even after event is published -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-09-26T19:34:12+00:00\",\"dateModified\":\"2015-10-15T14:05:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/#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\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Submitted new organizer is pending even after event is published\"}]},{\"@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":"Submitted new organizer is pending even after event is published -","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\/submitted-new-organizer-is-pending-even-after-event-is-published\/","og_locale":"en_US","og_type":"article","og_title":"Submitted new organizer is pending even after event is published -","og_description":"Got a fun bug for ya! Expected behavior Normally, when submitting an event through the Community Events form, you can add a new organizer as part of the process. If community event submissions are set to &#8220;pending&#8221; by default, then when the admin publishes the event, the new organizer is published at the same time. [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/","article_modified_time":"2015-10-15T14:05:06+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/","name":"Submitted new organizer is pending even after event is published -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-09-26T19:34:12+00:00","dateModified":"2015-10-15T14:05:06+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/submitted-new-organizer-is-pending-even-after-event-is-published\/#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":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Submitted new organizer is pending even after event is published"}]},{"@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\/1008966","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\/1008966\/revisions"}],"predecessor-version":[{"id":1009682,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1008966\/revisions\/1009682"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1008966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}