Skip to content

[Bug] The product status queue is unsequenced #43

Open
@gurpreet-legend

Description

@gurpreet-legend

Describe the bug

  • When the backend loads on localhost, there is a bootstrap.js script that runs which is responsible for creating the different types of product status. But it basically iterates over a json array of objects which using map, which may or may not result in the required sequence of product status, thus an indexing system is required, which can be incorporated in the data.json file and the bootstrap.js script.

image

To Reproduce

Steps to reproduce the behavior:

  1. Run the strapi backend on localhost.
  2. It will run the bootstrap script which will automatically create the product status.

Expected behavior

  • The product status queue should be in a proper order.

Environment:

  • OS: Windows 10
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions