GithubHelp home page GithubHelp logo

Comments (2)

jessp01 avatar jessp01 commented on June 3, 2024

Hello @bluikko ,

Yes, it's true, someone did have a typo, in all these files.
The typo in alpha/apps/kaltura/lib/KDLWrap.php is only in a comment as far as I can see:

NOT COMMITED, to check with KDLFalvor

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 $a and the code would still work. So yes, a typo, but not the worst thing in the world and, IMHO, not worth changing after all this time.

Frankly, to me, flavor also feels like a typo because, in the UK, we spell it flavour. Anyway, I don't think it's a very confusing typo myself. Would I rather we didn't have it? Definitely. But is it very important? Not in my opinion.

./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 [INGESTED_FALVORS] declared in deployment/base/scripts/init_content/01.conversionProfile.-4.template.xml:

                <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,

from server.

bluikko avatar bluikko commented on June 3, 2024

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...

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.