Giter VIP home page Giter VIP logo

Comments (7)

pedrobaeza avatar pedrobaeza commented on July 30, 2024

Do you have any suspect?

from web.

pablocm-aserti avatar pablocm-aserti commented on July 30, 2024

The response is a 404 and the native exportation starts working again if you remove the ExcelExport inheritance, so I guess it has to do with the index redefinition.

from web.

pablocm-aserti avatar pablocm-aserti commented on July 30, 2024

When you have both services - /web/export/xls_view and /web/export/xls - pointing to the same index method, only /web/export/xls_view is in the map rules when looking for the handler, but I have yet to find why. If I rename index to anything else, both paths are present.

from web.

pablocm-aserti avatar pablocm-aserti commented on July 30, 2024

This might be the problem:

Each Rule object is instantiated with a string that represents a rule and an endpoint which will be the alias for what view the rule represents. Multiple rules can have the same endpoint, but should have different arguments to allow URL construction.

from web.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

I see. Can we use the same service name for both things?

from web.

pablocm-aserti avatar pablocm-aserti commented on July 30, 2024

I think we can't, but I haven't seen any drawback to renaming the method. Both native and view exportation work when you rename it.

from web.

pedrobaeza avatar pedrobaeza commented on July 30, 2024

OK, let's see if there is any problem in the review process that we haven't seen.

from web.

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.