pandacms / panda_cms

Better websites on Rails.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

[TBD] Menu system doesn't allow you to save existing manual menus #12

Open jfi opened 3 weeks ago

jfi commented 3 weeks ago

Steps to reproduce

# Your reproduction script goes here

Expected behavior

Actual behavior

Screenshots

System configuration

Rails version:

Ruby version:

jadeKing commented 3 weeks ago

Is this the issue that happens when you try to save a new menu item to an existing 'static' menu, when its set to link to a Page? Validation failed: Menu items page must be a valid page or external link, both are set, Menu items external url must be a valid page or external link, both are set. I started looking at it previously and I think it was because when you save the Menu form with a Page chosen, it sets the url text_field to an empty string. Then when validation runs its thinks both fields have been filled out.

If this is not the same problem I will open a new issue.