luyadev / luya-module-cms

The LUYA CMS module provides a full functional CMS for adding contents based on blocks.
https://luya.io
MIT License
33 stars 46 forks source link

Wrong website_id while create NavContainer #388

Closed chemezov closed 1 year ago

chemezov commented 2 years ago

What steps will reproduce the problem?

Try to create NavContainer with non-default website in admin panel. Website field will be ignored, and NavContainer will be created with default website. Editing doesn't help either. The website remains the same.

What is the expected result?

What do you get instead? (A Screenshot can help us a lot!)

Default website in any way.

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version 4.4.0
PHP Version 7.4
Platform Apache (OpenServer)
Operating system Windows
nadar commented 2 years ago

i am not sure i understood correctly. You like to create a new container (NavContainer) which should not be assigned to a website? Do you have a multi website setup? Maybe a screenshot can help. Thanks for the report

chemezov commented 2 years ago

Sorry for misleading, there are steps to introduce:

1) I would like to create new NavContainer:

image

2) After saving, i get the wrong website_id in my new container:

image

3) Event editing this record (throught admin panel), doesn't give expected result, website still has value of default website.

nadar commented 1 year ago

@chemezov sorry for taking so long, but should be fixed now. thanks for the report