-
Notifications
You must be signed in to change notification settings - Fork 174
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
Usage of "falvor" instead of "flavor" in 1 visible place and multiple other files in code #9550
Comments
Hello @bluikko , Yes, it's true, someone did have a typo, in all these files.
Same goes for alpha/apps/kaltura/lib/myEntryUtils.class.php. In alpha/apps/kaltura/modules/system/actions/flavorParamsAction.class.php, it's clearly a copy paste sort of error, starting with the initialisation here: $newFalvorParams = $this->editFlavorParam->copy(); And carried out wherever the var is referenced. That typo has been there since day one but it doesn't have an actual effect (coding style aside, that is), that var could have been called Frankly, to me, ./plugins/monitor/nagios/config/cluster_commands.cfg.template and ./plugins/monitor/nagios/config/cluster_commands.cfg.template are both optional templates for Nagios monitoring. Optional and frankly, no longer maintained. The typo is in the conversion profile name [ <request service="conversionProfile" action="add">
<conversionProfile objectType="KalturaConversionProfile">
<name>Ingested Falvors</name>
<systemName>INGESTED_FALVORS</systemName>
<description>Light set of flavors to be ingested</description>
<flavorParamsIds>0,1,2,3</flavorParamsIds>
</conversionProfile>
</request> -4 is the system monitoring partner. If you use these monitoring scripts, you are welcome to rename that profile on your own ENV; you can do so by directly updating the DB record, see: mysql> select system_name from conversion_profile_2 where partner_id=-4;
+------------------+
| system_name |
+------------------+
| Default |
| INGESTED_FALVORS |
+------------------+ And then the Nagios config files. Cheers, |
There is only one occurrence visible (in the management console). In my opinion that should be fixed even if the database etc. is not? I won't comment on US vs UK issue... |
Bug report
Please provide a detailed description of the issue and the steps to reproduce:
One of the conversion profiles has what seems to be a typo: "falvors" - shouldn't this be "flavors"?
It is visible in the management console.
Afterwards I noticed that the same "falvor" is present in:
flavorParamsAction.class.php
KDLWrap.php
commands.cfg.template
cluster_commands.cfg.template
myEntryUtils.class.php
Since there are so many occurrences of the "typo", it cannot just be a simple typo. Either:
If it is the former then question is is it safe to change the templates or would this affect already existing installations that are updated?
Most likely the code could be fixed without issues.
I opened a PR at #9536 but quickly saw that the initial PR is wrong since it is enough to just change "INGESTED_FALVORS" to "INGESTED_FLAVORS" without fixing other files also. So the PR must not be merged!
Kaltura ENV
Please fill out this section if you are hosting the Kaltura platform on your own servers [as opposed to using Kaltura SaaS]. In the event of SaaS, the below should be deleted.
Relevant errors from /opt/kaltura/log/kaltura_api_v3.log, /opt/kaltura/log/kaltura_apache_errors*log and /opt/kaltura/log/kaltura_prod.log:
irrelevant
Linux distribution name and version:
git MASTER
Are you using the RPM or deb packages?
When using RPM, paste the output for:
For deb based systems:
Is this an all in one instance [single server] or a cluster?
If applicable, please provide the MySQL version:
irrelevant
If you're having an issue with a specific media asset, please provide a link from which it can be downloaded/played:
irrelevant
The text was updated successfully, but these errors were encountered: