{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/4061","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/4061/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/4061/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/4061/events","html_url":"https://github.com/mautic/mautic/issues/4061","id":228671095,"number":4061,"title":"Dynamic web content not being rendered","user":{"login":"RCheesley","id":2930593,"avatar_url":"https://avatars1.githubusercontent.com/u/2930593?v=3","gravatar_id":"","url":"https://api.github.com/users/RCheesley","html_url":"https://github.com/RCheesley","followers_url":"https://api.github.com/users/RCheesley/followers","following_url":"https://api.github.com/users/RCheesley/following{/other_user}","gists_url":"https://api.github.com/users/RCheesley/gists{/gist_id}","starred_url":"https://api.github.com/users/RCheesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCheesley/subscriptions","organizations_url":"https://api.github.com/users/RCheesley/orgs","repos_url":"https://api.github.com/users/RCheesley/repos","events_url":"https://api.github.com/users/RCheesley/events{/privacy}","received_events_url":"https://api.github.com/users/RCheesley/received_events","type":"User","site_admin":false},"labels":[{"id":154414515,"url":"https://api.github.com/repos/mautic/mautic/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-05-15T10:27:27Z","updated_at":"2017-05-22T14:25:18Z","closed_at":null,"body":"What type of report is this:\r\n\r\n| Q  | A\r\n| ---| ---\r\n| Bug report? | x\r\n| Feature request? | \r\n| Enhancement? | \r\n\r\n## Description:\r\nI have dynamic content I wish to send to an article on my website.  I've set up a slot set up in my Joomla article called 'a'.  The plugin successfully renders the curly-braces into divs, and I see in console a request to grab the dynamic content - e.g. https://mymauticsite.com/dwc/a?mtc_id=842&mtc_sid=5fc050b78e965e1249d50c1b84bd7b008f245aee.\r\n\r\nThe content, however, is never rendered on the page.  There are no errors in the console, no errors in the Mautic log and no errors in Joomla either.\r\n\r\nI have turned off caching for the site and the mautic sub-domain (we were using Cloudflare previously) to ensure this is not affecting the rendering of the javascript or causing problems with caching.  Cache has been purged since it was disabled.\r\n\r\nTested when logged into Mautic in the same browser, and when not.  Tested from more than one geographic location in both IPV4 & IPV6.\r\n\r\nCampaign is being triggered and other actions at the same step as the request dynamic content are happening as expected.\r\n\r\n## If a bug:\r\n\r\n| Q   | A\r\n| --- | ---\r\n| Mautic version | 2.8.0\r\n| PHP version | 7.0.15\r\n\r\n### Steps to reproduce:\r\n1. Set up dynamic content\r\n2. Set up segment\r\n3. Set up form with action to add to segment\r\n4. Set up campaign starting with segment from step 3\r\n5. Add request dynamic content, set slot name to 'a', optionally add a tag (to verify campaign is triggering)\r\n6. Create a slot on your website (note, I am using Joomla)\r\n7. Complete form to add yourself to the campaign, in a separate browser to your logged-in admin session\r\n8. After appropriate time delay, go to the relevant page with dynamic content, and check to see it being replaced\r\n9. Check the 'network' tab of your console - look for the request to dynamic content which will be something like https://mymauticsite.com/dwc/a?mtc_id=842&mtc_sid=5fc050b78e965e1249d50c1b84bd7b008f245aee.\r\n\r\nIn my case, the dynamic content is requested, but nothing is rendered - I still see the default message on the page.\r\n \r\n### Log errors: \r\n\r\nNothing is being logged in Mautic, Joomla, or the server logs that I can tell.  No errors in console.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/303115552","html_url":"https://github.com/mautic/mautic/issues/4061#issuecomment-303115552","issue_url":"https://api.github.com/repos/mautic/mautic/issues/4061","id":303115552,"user":{"login":"RCheesley","id":2930593,"avatar_url":"https://avatars1.githubusercontent.com/u/2930593?v=3","gravatar_id":"","url":"https://api.github.com/users/RCheesley","html_url":"https://github.com/RCheesley","followers_url":"https://api.github.com/users/RCheesley/followers","following_url":"https://api.github.com/users/RCheesley/following{/other_user}","gists_url":"https://api.github.com/users/RCheesley/gists{/gist_id}","starred_url":"https://api.github.com/users/RCheesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCheesley/subscriptions","organizations_url":"https://api.github.com/users/RCheesley/orgs","repos_url":"https://api.github.com/users/RCheesley/repos","events_url":"https://api.github.com/users/RCheesley/events{/privacy}","received_events_url":"https://api.github.com/users/RCheesley/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T14:25:17Z","updated_at":"2017-05-22T14:25:17Z","body":"Hi Don,\n\nI see the request go off to Mautic for the content as posted. On the\ndynamic content slot, nothing at all is rendered, the default content for\nthe slot is shown instead of what should be shown via the DWC.\n\nRuth\n\n*Ruth Cheesley*\n*CEO & Co-Founder*\n\nVirya Group Limited\n\nP: +44 (0) 1473 852130\nE: ruth.cheesley@viryagroup.com\nM: +44 (0) 7920 404314\nC: Schedule a meeting <https://app.hubspot.com/meetings/ruth-cheesley>\n\nPlease note that I often type emails using voice dictation - while I try to\nensure that what is typed is what I dictate, sometimes there can be errors!\n\nOn 22 May 2017 at 15:23, Don Gilbert <notifications@github.com> wrote:\n\n> @RCheesley <https://github.com/rcheesley> Can you post the content of the\n> response from Mautic? Or is it simply empty\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/mautic/mautic/issues/4061#issuecomment-303114861>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/ACy3oVYbp-IK7dNJTm3QKysQ8vIaEhjjks5r8ZpigaJpZM4Na8gu>\n> .\n>\n\n-- \n\nBe like me, be Carbon free - don't print this and save a tree\nIMPORTANT: The contents of this email and any attachments are confidential. \nThey are intended for the named recipient(s) only. If you have received \nthis email by mistake, please notify the sender immediately and do not \ndisclose the contents to anyone or make copies thereof.\n"}}
{"actor":{"display_login":"RCheesley"}}