Prestashop: Unable to edit category

Created on 26 Jun 2020  路  10Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

I am still unable to save shop category. After form submitting I can see error PrestaShop\PrestaShop\Core\Domain\Category\Exception\CategoryConstraintException code 6:
image

Problem is because this radio button is disabled, so I am unable to select it:
image

When I manually enable it with development tools it works:
image

Additional information

1.7.6.5 Bug Minor

Most helpful comment

Despite multiple attempts we cannot reproduce this bug. It is very likely it does come from a specific setting/config on your side, it can be server side configuration, it can be 3rd party module, it can be custom code. I close this issue as we cannot fix something that we cannot reproduce.

This does not mean this discussion is over 馃槈 if you find some more infos we might understand what's going on and maybe reopen the issue if we find a way to reproduce your behavior. But "open" issues are "things that we know what need to do / what we need to fix" and this issue does not meet this definition

All 10 comments

Thanks for opening this issue! We will help you to keep its state consistent

Could you please provide us with more info?
We need more details to understand how we can reproduce your issue:

  • host
  • server setup and configuration
  • PrestaShop version (source)
  • debug mode report
  • PHP error logs
  • apache error log
  • Javascript console log
  • screenshots
  • ...

You don't know how to get this information? Please read the following article: How to create a bug report.Thank you!

There are no extra logs. This option is just set as disabled, so it is not send with post data.

@Flower7C3 I need to a scenario for reproducing the issue ("Go on BO > Page X", "Disable X", "Add X").

  1. Go to BO > Catalogue > Categories
  2. Click Edit at any category
  3. In section "Parent category" the root category radio button is checked but disabled, so it will not be posted.

In 1.7.7.x, I have no problem :

image

And 1.7.6.x, No problem too :

image

Which steps do it lack for reproducing your bug ?

I use multishop and I have some third party modules installed.

I was looking in source code and probably the problem is here: https://github.com/PrestaShop/PrestaShop/commit/77c5b5402b39b66d94013ecedddbd2cde1190401#diff-27526556d82b1fc61eb6c6151345c9d8R47, where root category is disabled. When I comment out line it works. I have no idea why it is there.

Despite multiple attempts we cannot reproduce this bug. It is very likely it does come from a specific setting/config on your side, it can be server side configuration, it can be 3rd party module, it can be custom code. I close this issue as we cannot fix something that we cannot reproduce.

This does not mean this discussion is over 馃槈 if you find some more infos we might understand what's going on and maybe reopen the issue if we find a way to reproduce your behavior. But "open" issues are "things that we know what need to do / what we need to fix" and this issue does not meet this definition

@matks thanks for debugging. I will back with info if I find any info about this problem.

Hi,
I have the same problem when upgrade from ps 1.6 to ps 1.7. and I find a solution to my problem.
Screenshot_4

Screenshot_3

Hope that helps someone already have upgraded

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vincent-dp picture vincent-dp  路  3Comments

PrestaShark picture PrestaShark  路  3Comments

itisco picture itisco  路  3Comments

sandra2n picture sandra2n  路  3Comments

hiousi picture hiousi  路  3Comments