Uploaded image for project: 'PrestaShop 1.7'
  1. PrestaShop 1.7
  2. BOOM-5826

Position numbering is inconsistent between webservice and interface

    Details

    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      When trying to update the last product of a category through webservice in a category where products have been sorted through admin interface, an error 'You cannot set a position greater than the total number of products in the category, minus 1 (position numbering starts at 0).' is thrown.

      This is because when redordering through admin, the positions are numbered starting from 1.

      This is a very annoying bug because it prevents products to be updated even if you just send back the position that has been provided by a GET.

        Attachments

        1. screenshot-1.png
          20 kB
          Khouloud BELGUITH

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              beuss S├ębastien Le Ray
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: