Giter Club home page Giter Club logo

painless-car-rental's People

Contributors

212223 avatar dependabot[bot] avatar lrynek avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

212223

painless-car-rental's Issues

Missing .env file

It results in:

Fatal error: Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "/usr/share/nginx/html/default/.env" environment file. in /usr/share/nginx/html/default/vendor/symfony/dotenv/Dotenv.php:567

Bug: Elasticsearch - The mapping definition cannot be nested under a type [_doc]

Example PUT request

Creates this error:

The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true."}],"type":"illegal_argument_exception","reason":"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.

For the Elasticsearch v7.17.1

Request body update required or workaround by adding a query ?include_type_name=true as used in request.sh

However if a user don't use the request.sh for eg by runing setup.sh but use API clients instead then he would not be able to succeed with the original body of the example PUT request

Currently there is no information how to handle that problem in the README.md

Suggested:

  • update the request body for all PUT requests or
  • add information in the README.md how to handle that problem (suffix target with ?include_type_name=true)

$referer has no query string

No matter the request (with or without filters) $referer is always lacking a query string.
Therefore return is always executed and the self::FIRST_PAGE never returned.

That leads to the issue in case a user's browser is displaying for example the 5th page

11

but a user makes a new search request with updated filters and a response does not have at least 5 pages:

1112

Expected behavior would be to display always the 1st page of results every time a user requests a new page with changed filters:

11123

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.