-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkp/pkp-lib#10511 fix and cleanup invalid series navigation menu items #1772
base: main
Are you sure you want to change the base?
Conversation
…rt a menu item with the series type. Signed-off-by: yves <[email protected]>
…map with keys. Co-authored-by: Jonas Raoni Soares da Silva <[email protected]>
db22420
to
7b0f673
Compare
classes/migration/upgrade/v3_5_0/I10511_RemoveSeriesMenuItems.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kaitlinnewson! I just requested one update.
Ah, I've spotted another problem... The offending menu item can be the parent of other menu items, so if you remove it, the dependent items will be gone as well... In fact not, because a foreign key was forgotten (I'll create/update another issue to cover it), anyway, it needs to be addressed 🙃 So again, we have two options:
|
FYI the current behavior is to hide everything which is under an orphan menu item, which I don't think it's ideal 🤔 |
7b0f673
to
256006c
Compare
@jonasraoni PR has been updated and ready for another look. I noticed there is only one level of nesting in the menus, so I opted to set the parent to |
256006c
to
b740084
Compare
No description provided.