IBM Support

PI54793: MFP CLI CORDOVA PLUGIN ADD FROM NPM REPORTS ERROR WHEN IT'S WORKING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The "mfp cordova plugin add" command incorrectly outputs an
    error after successfully adding a plugin.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * 7.1.0 MFP Cordova CLI Users                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The CLI incorrectly reports an error when 3rd party plugins  *
    * are added to a project.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • In the event where a non-local plugin was added to a project,
    Cordova would sometimes error with a http 304 response. The MFP
    CLI would mis-interpret this as a plugin add failure, despite
    the plugin being successfully added to the project. The fix was
    a simple check for the 304 error code and treat it as a
    successful add.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI54793

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-04

  • Closed date

    2016-01-12

  • Last modified date

    2016-01-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021