From: Tod O. <to...@uc...> - 2013-06-17 19:01:56
|
Yes, debug mode does show that. I don't see anything obviously wrong in either the JSON or XML representations: http://magma.lib.uchicago.edu:8080/solr/biblio/browse?wt=json&json.nl=arrarr&from=p&offset=-20&rows=20&source=title http://magma.lib.uchicago.edu:8080/solr/biblio/browse?from=p&offset=-20&rows=20&source=title So back to the PHP code, I guess. Well, first my next conference call, _then_ back to the PHP. One thing that is interesting: the presence of the '<lst name="extras">'. That looks like the mechanism that Alan uses to return extra column data! -Tod On Jun 17, 2013, at 12:38 PM, Demian Katz <dem...@vi...> wrote: > Debug mode should at least be showing you the raw Solr request that retrieves the browse results, which you should be able to open in another browser window to help see whether the glitch is occurring on the Solr end or the VuFind end. > > I think you're right that all those files are obsolete, and the presence of an unnecessary file shouldn't cause the situation you're seeing. > > I don't believe there's any kind of caching involved in browsing beyond whatever Solr/SQLite are doing internally. Perhaps a restart would be worthwhile just to see if that makes a difference (but I doubt it will). > > If you need to do more specific diffing, the place to look would most likely be the AlphabrowseController and related templates.... and if necessary, you could probably dig into the controller and start echoing things out to get a better idea of what's going on (but as previously noted, using debug mode to get the raw Solr request is a good place to start). > > - Demian > >> -----Original Message----- >> From: Tod Olson [mailto:to...@uc...] >> Sent: Monday, June 17, 2013 1:20 PM >> To: Demian Katz >> Cc: Tod Olson; vufind-tech >> Subject: Re: Browse problem: unreliable prev/next links >> >> Debug mode tells me nothing. >> >> Diff is interesting. This is based on the master as of Jun 7 ("Updated Welsh >> translation"). I differ the (non-local) modules and the (non-local) themes. I >> see these directories and files that are in the merged version, but not in the >> master: >> >> Only in module/VuFind/src/VuFind/Search: Listener >> Only in module/VuFind/src/VuFind: Theme >> >> Only in module/VuFindSearch/src/VuFindSearch/Query: Params.php >> Only in module/VuFindSearch/src/VuFindSearch/Query: QueryAdapter.php >> >> I suspect those are obsolete and have moved them out of the way, but still get >> the same behavior. Aside from local/cache, is there any kind of caching >> >> Under the themes, I only see two whitespace differences. >> >> Wish I knew how to tell whether the problem is in what is coming back from the >> browse indexes or in how it is processed. Seems like if it were the indexes >> I'd have bigger problems. >> >> Anything else you would advise diffing? >> >> -Tod >> >> >> >> On Jun 17, 2013, at 9:59 AM, Demian Katz <dem...@vi...> >> wrote: >> >>> I've tested that AlphaBrowse is working on my test server, so it's not >> completely broken everywhere -- there must be some complicating circumstances >> somewhere. >>> >>> Also, I'm not sure if you noticed this, but clicking the "prev" link in your >> P example behaves very strangely: you get the same page several times in a >> row, but then the content eventually changes! >>> >>> Does turning on debug mode tell you anything? >>> >>> Is it worth doing a diff against a clean copy of master in case this is >> another weird merge problem? >>> >>> - Demian >>> >>>> -----Original Message----- >>>> From: Tod Olson [mailto:to...@uc...] >>>> Sent: Monday, June 17, 2013 10:54 AM >>>> To: vufind-tech >>>> Subject: [VuFind-Tech] Browse problem: unreliable prev/next links >>>> >>>> I'm having some problems in my dev install's browse results. The prev/next >>>> links are not displaying reliably. For example, title browse for "a" shows >>>> neither link, even though the list ends in the early Bs: >>>> >>>> http://magma.lib.uchicago.edu/vufind/Alphabrowse/Home?source=title&from= >>>> a >>>> >>>> And a title browse for "p" gives "prev" but not "next": >>>> >>>> http://magma.lib.uchicago.edu/vufind/Alphabrowse/Home?source=title&from= >>>> p >>>> >>>> Follow the prev link and no next link is on the results. >>>> >>>> I'm at a loss for how to chase down this problem. Does anyone have a >>>> suggestion? >>>> >>>> -Tod >>>> >>>> >>>> --------------------------------------------------------------------------- >> --- >>>> This SF.net email is sponsored by Windows: >>>> >>>> Build for Windows Store. >>>> >>>> http://p.sf.net/sfu/windows-dev2dev >>>> _______________________________________________ >>>> Vufind-tech mailing list >>>> Vuf...@li... >>>> https://lists.sourceforge.net/lists/listinfo/vufind-tech > |