-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: disable metadata export for APIP #2507
fix: disable metadata export for APIP #2507
Conversation
|
||
//APIP does not support metadata at this moment | ||
if(!isset($options['apip']) && $options['apip'] !== true){ |
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.
Shouldn it be OR instead of AND ? If apip
is not set OR apip
has value false
? Then do metadata stuff?
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.
Both conditions are required. First if apip
is not set you should go into if block. And if it is set it should be other than true to enter block. If I use OR it can lead engine to check both conditions and in second condition if it is not set it will cause fatal error.
Front-end summary Node 18
|
Version
There are 0 BREAKING CHANGE, 0 feature, 3 fixes |
When exporting APIP package, disable metadata export.
Metadata export for APIP will be developed soon so it will be enabled.
How to test:
Expected behavior
Item APIP package does not contain metadata.
Importing APIP Package is successful.