thinkshout / wp-otis

WordPress plugin for the Oregon Tourism Information System
GNU General Public License v2.0
4 stars 1 forks source link

OTIS events with link fields are imported blank, must be manually reimported #66

Open BrendanJercich opened 1 month ago

BrendanJercich commented 1 month ago

From Jeff at Cardwell:

When importing Events that have the Links field populated, they arrive into wordpress blank. (see screenshot)

The workaround I discovered is to delete the blank row in wordpress, save the listing, then click Reimport Fields, which then properly brings in the data.

The client is currently using WP OTIS 1.1.15, but I see the issue happening for 1.2.5.2 as well.

ex. Winter Wonderland at Jackson Bottom 5504ea87-e663-416e-ac51-a9f010260344 Hillsboro

after initial import: Links field Network Type: blank URL: blank

after deleting blank for, updating the listing, running Reimport Fields: Links field Network type: Website URL: https://www.hillsboro-oregon.gov/Home/Components/Calendar/Event/124789/4816

Here are some other listings having this issue for your testing:

Halloween BooSpiel at Evergreen Curling Club 03388aa9-e17b-4375-b74d-9fff3e4b9135

Dinner and Wine with “Elvis” at Carpenter Creek Winery 3a44ccc3-ee89-49ad-98f3-878bbd99de6b

Michele VanKleef at 503 Uncorked a975dfa7-4e90-4993-84ee-bcf87c07acde

The wordpress OTIS filter for tualatinvalley.org

    add_filter( 'wp_otis_listings', function ( $params ) {
     $params['city'] = 'Aloha|Banks|Beaverton|Buxton|Cornelius|Durham|Forest Grove|Gaston|Hillsboro|King City|North Plains|Portland|Sherwood|Tigard|Tualatin|Wilsonville';
     $params['type'] = 'Events|Cities|Regions';
     return $params;
    } );
BrendanJercich commented 1 month ago

Have not managed to reproduce this locally yet, so no diagnosis at the moment.

mshaver commented 1 month ago

Hi @mattschaff, we are hoping you can take a look at this issue. Let me know if this would be possible and you're able to reproduce.

mattschaff commented 1 month ago

Hi @mattschaff, we are hoping you can take a look at this issue. Let me know if this would be possible and you're able to reproduce.

@mshaver Will look into this & try to replicate

mshaver commented 1 month ago

Hi @mattschaff, I wanted to see if you had an opportunity to look into this OTIS issue at all yet?

BrendanJercich commented 2 days ago

Got a full copy of the Tualatin Valley site that is experiencing the problem from Jeff, installed locally, upgraded the wp-otis plugin to the latest on the main branch, and am now trying a POI import from the last couple of months to see if I can reproduce the issue on events.