Esri / geoportal-server

Geoportal Server is a standards-based, open source product that enables discovery and use of geospatial resources including data and services.
https://gptogc.esri.com/geoportal
Apache License 2.0
245 stars 149 forks source link

Error browsing metadata after search on federated catalogs #11

Closed gcampanile closed 10 years ago

gcampanile commented 11 years ago

To reproduce the error.

psanyal commented 11 years ago

Hi,

The sample browse page is configured to query local site or "This site" by default. However, browse tree can be configured to query remote catalogs.

Pratik

mhogeweg commented 11 years ago

to be more specific, here's how you could do that:

    <!-- News from other sites -->
    <item>
        <id>300</id>
        <name>What&apos;s New</name>
        <item>
            <id>301</id>
            <name>ArcGIS Online</name>
            <query>rid=arcgis.com</query>
        </item>
        <item>
            <id>302</id>
            <name>Geoplatform.gov</name>
            <query>rid=geoplatform.gov</query>
        </item>
        <item>
            <id>303</id>
            <name>Geoportal Sandbox</name>
            <query>rid={2CA89456-8B52-4E6C-9FA9-03401BAE1B79}</query>
        </item>
    </item>

note that in the above I did not use resource keys for the <name> elements. you could do this as well for localization purposes. in that case, add your new keys to gpt.properties.

gcampanile commented 11 years ago

Hi,

the problem is not to query remote catalogue in the browse tree, but the fact that the browse tree detail link queries always the last catalog used, not the local one. You can reprodure the error by following the steps.

psanyal commented 11 years ago

Hi,

I reproduced the error by following the steps. Will keep you posted on it.

gcampanile commented 11 years ago

Thanks Pratik. A brief note: yesterday I downloaded the 1.2.4 ZIP (Esri-geoportal-server-1.2.4-1-gf8935c3.zip) and the “binary-distributions” folder contains a “geoportal-1.2.2.zip”. The direct download of the binary file (geoportal-1.2.4.zip) instead is correct.

Regards Gianni

    [cid:imaged9abe7.GIF@dafa7adc.4ba70c62]
    Gianni Campanile
    GIS Specialist

e-mail gcampanile@esriitalia.itmailto:gcampanile@esriitalia.it tel. (+39) 06.40696.245 mob. (+39) 349.8729716 fax. (+39) 06.40696.333

    ESRI Italia S.p.A. - via Tiburtina, 755 - 00159 Roma - http://www.esriitalia.it<http://http://www.esriitalia.it>

Informativa ai sensi del decreto legislativo 30.06.03 n.196 Vi informiamo che Esri Italia S.p.a. garantisce il rigoroso rispetto del Dlgs 196/03 e che, pertanto, le mailing list e le informazioni di cui è titolare, rilevate nel corso della normale attività commerciale, non verranno utilizzate per altre finalità. Potete richiedere, in qualsiasi momento, in via gratuita, la sospensione immediata dell’impiego dei Vostri dati, al fine dell’invio di analoghe comunicazioni, semplicemente inviando una e-mail a info@esriitalia.itblocked::mailto:info@esriitalia.it ,oppure rispondendo a questo messaggio scrivendo “CANCELLA” nell’oggetto. Riservatezza Il contenuto di questo messaggio ed ogni eventuale documento allegato è strettamente riservato al destinatario e qualora , per errore di trasmissione, pervenisse a persona diversa, preghiamo di contattarci immediatamente ed a non aprire, salvare, stampare il contenuto o rendere note a terzi le informazioni in esso contenute, senza autorizzazione. La ritenzione, l'uso indebito e la diffusione non espressamente autorizzata dalla comunicazione potranno comportare la violazione degli art. 616 e seguenti del Codice Penale. Grazie per la collaborazione. Da: Pratik Sanyal [mailto:notifications@github.com] Inviato: lunedì 15 luglio 2013 22:58 A: Esri/geoportal-server Cc: Gianni Campanile Oggetto: Re: [geoportal-server] Error browsing metadata after search on federated catalogs (#11)

Hi,

I reproduced the error by following the steps. Will keep you posted on it.

— Reply to this email directly or view it on GitHubhttps://github.com/Esri/geoportal-server/issues/11#issuecomment-21003173.

eggwhites commented 11 years ago

Hello Gianni, Thanks for pointing out the redundant "binary-distributions" folder in the ZIP download. Because the binary distribution is available from http://esri.github.io/geoportal-server/distribution/1.2.4/geoportal-1.2.4.zip, there is no need to distribute it also with the source code. As a result of your finding, I've deleted the binary-distributions folder from our dev branch; the next time the dev branch is merged with the Master, it will no longer be included in the ZIP download of the source code.

Christine

zguo commented 10 years ago

The browsing issue has been fixed and available in the develop branch.