• AirPress 1.1.35

    Chester –

    While researching my previous post, I stumbled across what I first thought was a minor annoyance in Virtual Post configuration but, on further investigation, turned out to be something broken in VP configuration.

    After I had deleted the phantom VP configs (see earlier post), I noticed none of my valid VP configs showed any matches for the test URL. This behavior had changed with one of the past few updates; I know it was working under 1.1.30, and I suspect it was still good in 1.1.32. Now, though, the configurations all reported “No results from test url” — even though the Virtual Posts did work properly when called.

    On checking the logs, I discovered $1 now had a ‘/’ character appended to it, to wit:

    200 0 0.47 outfit?filterByFormula=FIND('punk/',genre)>0

    By explicitly appending the stroke to the “URL Pattern to Match” — for instance, as in ^wardrobe/genre/(.*)/ — my configuration would now properly show matches for the test URL; however, actual calls to the VP failed. That is to say, with the match pattern defined as ^wardrobe/genre/(.*)/, both

    https://domain.tld/wardrobe/genre/vintage

    and

    https://domain.tld/wardrobe/genre/vintage/

    incorrectly return a 404 “No Results Found” page. Removing the trailing ‘/’ from the match pattern fixes the VP, allowing both URLs above properly to return matching records, but again breaks the test URL match on the VP configuration page.

    I paged back through the latest Trac changesets on www.ads-software.com, but no break so obvious I could identify it made itself known….

    Again, not at all on a clean server. If I can do anything to help isolate this, let me know.

    Thanks!
    maz

    • This topic was modified 7 years, 11 months ago by mazoola. Reason: formatting changed for readibility
  • The topic ‘Virtual Post issue’ is closed to new replies.