Coder Social home page Coder Social logo

Comments (2)

fxprunayre avatar fxprunayre commented on June 11, 2024

Not sure how we could improve this. It relates to the fact that the proxy is by default not permissive and only allows URL found in metadata records (cf. https://docs.geonetwork-opensource.org/4.2/maintainer-guide/production-use/#web-proxy) but the scan of URL is only triggered manually - maybe we should make it more regular/automatic?

from core-geonetwork.

GeoSander avatar GeoSander commented on June 11, 2024

@fxprunayre To be clear: I am not asking to change behavior, just the message. :)

But looking at the WfsDirective.js I see that there indeed is no way to tell why the WFS GetCapabilities failed, so it's hard to provide a correct feedback message like that.

I haven't looked or tried yet, but do you know if the responses of the WFS GetCapabilities request in the OWSService.js are different if:

  • the user is not logged in (anonymous);
  • the user is logged in and the URL exists (200);
  • the user is logged in and the URL does not exist or is unreachable (i.e. 404 or timeout)?

If there is a distinction, I guess we can provide a correct feedback message to the user.
Something along the lines of:

  • anonymous users -> "Please log in to connect to the service"
  • logged in but no or bad response -> "Unable to connect to the service"

Do I make sense?

from core-geonetwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.