Forum Replies Created
-
AuthorPosts
-
Andreas
ParticipantHi Jennifer
I’ve had a closer look at my imported organizer entries with a focus on those with special characters in their names and believe I’ve found the problem I have. It seems to be related to names containing a special type of double quote character as HTML entity.
My first attached screenshot shows an organizer named ‘Verein für Freiraum “Rümpeltum”‘. If I move that entry to the WP trash, the combobox for selecting an organizer in the edit view of an event starts working as it should. If I move it back, it stops working again.
If I edit that entry by replacing those double quotes with the double quotes character on my keyboard, then safe my edits, those double quotes are replaced with starting and ending double quotes characters (see second screenshot). The combobox works after that edit.
I’ve checked the actual CSV file and found both characters to be " . There are no other such characters in that CSV file. The only other HTML entity I’ve found is ', but that doesn’t seem to cause any issues.
I conclude that either the general use of the HTML entity " or its usage for as both starting and ending double quotes is causing issues in at least an organizer’s name, if that organizer is added through an import. This could be some encoding or validation issue.
I haven’t checked the venues yet, but I would not be surprised if I find the same thing there as well.
I hope this makes sense and that it fits what you can observe from your side.
Cheers
AndreasAndreas
ParticipantThis reply is private.
Andreas
ParticipantHi Jennifer
Interesting. I re-imported only the 70+ organizers from the original CSV. As a result of this, the combobox for selecting the organizer in the edit view of the manually added event stopped working (see two screenshots attached to this entry).
So I now have 1 manually added event, organizer and venue each, plus 70+ imported organizers. The combobox for selecting the venue works, the one for the organizer no longer functions.
Not sure what could be the reason for this. I’m running on the latest WP 4.9.8 and TEC plugin versions. I’ll try to redo the above, but this time with the DEBUG flag enabled.
Cheers
AndreasAndreas
ParticipantSorry, please disregard the text below my name in my previous post. That was a copy+paste leftover… 😉
Andreas
ParticipantHi Jennifer
I got this working again for now, although I still have some work ahead to make sure it also works with actual data.
I first tried by uninstalling all plugins, but not WordPress itself. I then only installed the free-version of TEC (leaving out Pro). All data was still there, but the comboboxes still would not work. When I checked the browser console, I detected two errors that keep appearing when I open the comboboxes to set an organizer or venue (see two attached screenshots).
I then completely wiped my site by deleting all database tables, WordPress, as well as all plugins. I reinstalled using composer. Then I went ahead and did what you’ve suggested: I created an organizer and venues manually first. The comboboxes then worked as expected when I added my first event.
I’ll now try to import the previous events (or maybe a subset thereof). If the comboboxes keep on working then this might indeed be because I never created items manually before trying an import.
I keep you posted.
Cheers
Andreas– TEC plugins deinstalliert
– TEC free version über WP neu installiert (Pro nicht)
– alle Daten noch da
– Select in Edit view funktioniert nach wie vor nicht.
– Browser Konsole zeigt Fehler (s. Screenshots)– DB komplett gelöscht, Neuinstallation über Composer, dann erst einen Event, Veranstalter und Veranstaltungsort manuell erzeugt -> Comboboxes funktionieren.
Andreas
ParticipantThis reply is private.
Andreas
ParticipantHi Jennifer
Thanks for your reply.
I’m curious: why is it that you‘re not allowed to connect to user sites, even if you‘re given permission and rights to do so? Does that only apply for production sites, or all types of sites, e.g. dev and staging sites as well? I‘m asking because I wonder how you‘re able to reproduce reported issues, if you can only do so by attempting to recreate a specific setup. It seems to me that this makes it tough to track down hard-to-reproduce bugs… Just asking, I‘m sure you have your reasons.
Anyway, I did what you asked me to do. Or actually, I tried to do that.
- I manually created a new venue: https://derwis.ch/veranstaltungsort/aarenau/
- I manually created a new event: https://derwis.ch/event/aarenau-openair-2020/
The idea was to make this event take place at the newly created venue. Unfortunately, I couldn’t realize that, since I can neither select nor search, then select the venue in the edit view of the event (see image1.png).
As before, searching for the venue name only gives me the option to create a new venue with that name (see image2.png).
From my point of view, we can look at two things now:
As you suggested, something might have gone wrong during the import.
The other issue that could be causing this is the fact that I install WP and the TEC plug-in using composer. Maybe something is missing or broken there?I’ll send you both the .csv files and the composer files in a separate, private post.
Thank you very much for your help
AndreasAndreas
ParticipantHi Jennifer
Thanks for your reply.
I’m curious: why is it that you‘re not allowed to connect to user sites, even if you‘re given permission and rights to do so? Does that only apply for production sites, or all types of sites, e.g. dev and staging sites as well? I‘m asking because I wonder how you‘re able to reproduce reported issues, if you can only do so by attempting to recreate a specific setup. It seems to me that this makes it tough to track down hard-to-reproduce bugs… Just asking, I‘m sure you have your reasons.
Anyway, I did what you asked me to do. Or actually, I tried to do that.
I manually created a new venue: https://derwis.ch/veranstaltungsort/aarenau/ https://derwis.ch/veranstaltungsort/aarenau/
I manually created a new event: https://derwis.ch/event/aarenau-openair-2020/ https://derwis.ch/event/aarenau-openair-2020/The idea was to make this event take place at the newly created venue. Unfortunately, I couldn’t realize that, since I can neither select nor search, then select the venue in the edit view of the event.
As before, searching for the venue name only gives me the option to create a new venue with that name.
From my point of view, we can look at two things now:
As you suggested, something might have gone wrong during the import.
The other issue that could be causing this is the fact that I install WP and the TEC plug-in using composer. Maybe something is missing or broken there?I’ll send you both the .csv files and the composer files in a separate, private post.
Thank you very much for your help
Andreas
ParticipantThis reply is private.
Andreas
ParticipantUpdate 2: the search effect on the event edit page happens on Safari and Firefox on Mac (latest versions). On Firefox, there’s actually a JS error showing up in the console of the web developer tools (see screenshot), as soon as I open the combobox.
Andreas
ParticipantUpdate: I turned off all plug-ins, but the mandatory ones (see screenshot). I also switched to the raw TwentySeventeen day. I still see the search issues on the event edit page.
Andreas
ParticipantHi Jennifer
Thank you for your answer.
Yes, search on the front-end is indeed working. For venues I also do get proper results – not sure what I saw (or actually didn’t see) there before. I find searching for date a bit odd in List view, as I not only get events for the date I’ve searched for, but also for future dates (see first screenshot). But alas, I can live with that, it’s merely a design decision.
But search on the event edit page seems broken for me:
– If a venue or organizer is set, that’s not shown (see second screenshot). Values are set, however, as they show up on the actual event page. Also, for organizers, the “trash” icon is shown allowing me to remove the value.
– If I search for “Biel” as venue (what you tried in the front-end), I don’t get a result. I’m only offered to add “Biel” as new venue (see third screenshot).
– If I just open the combobox, I see the spinner reading “Searching…”, but nothing else happens. I would have expected to see e.g. the first 5 entries of the alphabetically sorted list of venues.Do you have any other reports like that?
I’ll try again to disable all plug-ins and switch to a default theme. I’ll also have a look at the Query Monitor plugin after that.
Thanks for your help
Andreas -
AuthorPosts
