Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7000

[Storefront] An error 400 bad request occurs when defined in ibexa.yaml catalog has different status than published

    XMLWordPrintable

Details

    Description

      Preconditions:

      • In ibexa.yaml file, defined under site siteaccess:
        storefront:
                   catalog:
                           detault: {catalogName}

      Steps to reproduce

      1. Log in to back office.
      2. Go to Product-catalog / Catalogs.
      3. Add a new catalog with the same name as defined in ibexa.yaml (do not change catalog status - leave it as draft).
      4. Go to /product-catalog page (storefront).

      Actual result:

      An error 400 bad request occurs when defined in ibexa.yaml catalog has different status than published.

      Oops! An Error Occurred
      
      The server returned a "400 Bad Request".
      
      Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. 

      Expected result:

      Correct information that the added catalog must have a specific status (published).

      Edit:

      When defined in ibexa.yaml catalog is not added in back office, there is also incorrect information on /product-catalog page (storefront).
      The error code is correct 404 Not found but message is not.

      Oops! An Error Occurred
      
      The server returned a "404 Not Found".
      
      Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

      This might be confused for maintainer / partner. We have to display correct message that catalog with {catalogName} has not been found.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: