-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Upgrade Shortcodes to 1.0.0 #7988
Conversation
Not so simple, the tests will fail. |
No worry I will try to fix them |
Seems the only test that fails is locale shortcode, so I need to figure out if it's a shortcodes bug after the recent commits, because it was working before |
Everything is working fine in Shortcodes, the issue occurs from |
hmm yeah Null is probably a reserved word. |
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.
The change in behaviour with shortcodes is to render the [blah]
if it is not registered.
I assume (hope) that means somewhere it's evaluated against null for not registered, and empty for is registered, but didn't return a value.
Can you try with the suggested change to see if it passes, and if not we might have to look at shortcodes.
src/OrchardCore.Modules/OrchardCore.Shortcodes/Providers/LocaleShortcodeProvider.cs
Outdated
Show resolved
Hide resolved
src/OrchardCore.Modules/OrchardCore.Shortcodes/Providers/LocaleShortcodeProvider.cs
Show resolved
Hide resolved
Fixes #7715 |
Fixes #7986 #7715