Posted: July 8, 2024 at 7:12 am
Anyone else experiencing missing lines when exporting registrations? The approved registrations are all there, but a small fraction of pending payment registrations are there. Did something change? |
|
When I filter on this year’s registrations, I see a total of 2073 items (both approved and incomplete). When I click on the export button, it exports just 1067 registrations. We have been using this same process for years to build a list of pending registrations that need email reminders. Something isn’t right… |
|
Hi there, Can you please confirm if the export was working fine before? If so then can you please perform a troubleshooting to see if there is any conflict: |
|
It has been working fine for years. No other changes to other plugins. I would love to know if anyone else is seeing the same thing. As seen here, if you filter on a category, you see 2099 registrations to export. When you click the export button, it says that it is only exporting 1076 of them. The resulting csv contains 1076 lines. There are actually 1004 approved registrations, so it’s exporting more than just approved regs, but not all pending regs. |
|
Hmmm, strange. The CSV will not always include all of the registrations listed on that list table, but if you’re noticing a difference recently then it’s worth at least investigating. So you say this has been working for years, so the difference now is between version 5.0.19 and 5.0.20? |
|
I’m not 100% sure exactly when this started, but we have always been able to export all registrations (without a status selected) and then run a script in excel to get a list of email addresses for customers that started a registration but never successfully finished. Under what circumstances would registrations be left out of the export? In my current scenario, I’m missing almost half of them. |
|
This is where conditions set by default on the registration report.
So in English… export registrations that do NOT have a transactions with a status of FAILED or ABANONDED, unless the registration status is Approved (in which case it doesn’t matter) and also include registrations linked to trashed tickets. When you view the missing registrations in the admin list table, what Reg status and TXN Status do they have? Here’s an example from my site: https://monosnap.com/file/0OE6Bv1zxrTbNQJ3B3JcRlWlH8p9wW The upper registration is Approved with a TXN status of incomplete, they would be included in the CSV. The lower registration is Pending Payment but with a TXN status of Abandoned, that would be left out. Another example: https://monosnap.com/file/SQJXwfApuptPL6xxLdLUKaztpD4eGF Similar to the above, the middle registration would be excluded from the CSV. |
|
So when did this change? I’ve got an archive of the site from before a major overhaul that is still running 4.10.43.p. When I view the registration list without selecting a status, it shows 1855 items. When I export it, I get a CSV with 1855 items including registrations with pending payments / abandoned txn. Our excel process would then take the csv and produce an email dist list with customers that started registering but never successfully completed a registration after that. Based on your explanation, it looks like my client has only been producing a list of customers with failed transactions and they have been missing out on abandoned transactions. I’m not looking forward to telling them that. Is there an easy modification to put this back the way it was? |
|
It hasn’t changed, those defaults have been set within core for many years for both the ‘standard’ CSV Export class: https://monosnap.com/file/OzhTdYRBEaFAS7Ss1vWF8vLaAPeyMq And the batch processing class: https://monosnap.com/file/RqDTNi3ecu2eud6fEs67N7Lhjv3vJs
That’s not expected and different from my results. I’ve just exported registrations from a site using 5.0.20.p, the total reg count is 3,361… the exported CSV has 2840 rows. The ‘missing’ registrations are those with TAB (Transaction ABanonded) or TIN (Transaction INcomplete) transaction status. I then switch that same site to use 4.10.43.p and run the same export. The export has 2840 with the same registrations missing. — The query params for the export functions are filtered, do you have any code on the archive site hooking into the |
|
I don’t see any mention of ee_export in the child theme or site plugin for that old site archive. I also don’t see any past forum post from me asking for a solution to export everything that is currently filtered in the list. Is there a code snippet available to have the export always export exactly what is currently being filtered? We are not allowed to share access to the site, but I can screen share at any time of any day if you would like to take a look at this and the issue with promo codes not displaying on the transaction page. |
|
I’ll ask again… Is there a code snippet available to have the export always export exactly what is currently being filtered? |
|
I asked our developers to review this to confirm I wasn’t going nuts, we have a few different projects for EE5 going on currently so it took a little but they confirmed what I mentioned above and get the same results as me, so I’m not sure whats happening on your ‘original’ site.
There wasn’t but I’ve put one together using the hook I mentioned above. https://gist.github.com/Pebblo/dc130ba5eab955d1f5862be1060b6ffd Add that to a custom functions plugin on the site. It removed the exclusion of TAB reg statuses from the registration report and they are then included on my test sites. However, if there is something else hooking into the above and changing the Reg statuses that are used that snippet may not work either. |
|
Thanks! This seems to work exactly like the older copy of the site works. Everything else in the child theme function file is well documented as far as what it does and there isn’t anything export related in there. I’ve got no idea why it works that way on the old site, but they are happy now that they can reproduce this on the new site. |
|
Thank you. have a wonderful day! |
|
You must be logged in to reply to this support post. Sign In or Register for an Account