IBM Support

LI81318: TOOLKIT / DESIGNER 2018 REGEX PATTERN PREVENT TO PUBLISH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • 1. case
    ^[0-9]{3,6}+$|^$
    This pattern is marked as wrong in
    the API Designer 2018 (in Toolkit 5.0.8.7 it is OK).
    When I
    delete the plus sign "+" in API Designer 2018 then it's ok and
    I am able to publish the API.
    Why? It was OK in 5.0.8.7.
    
    2.
    case
    ^.{1,32768}$
    This pattern is OK in API Designer 2018 (in
    Toolkit 5.0.8.7, too). When I would like to publish this API I
    get the error:
    The multipart 'openapi' field contains an
    OpenAPI definition huk-message-api:1.0.0 (HUK Message API) that
    has validation errors.
    definitions.properties.pattern Does not
    match format 'regex' (context:
    (root).definitions.properties.pattern, line: 0, col:
    0)
    400
    
    When I reduce the upper limit (for example ^.{1,327}$)
    then I am able to publish.
    

Local fix

Problem summary

  • Users may experience validation errors in v2018 toolkit/designer
    that did not appear in version v5.
    

Problem conclusion

  • If such issues are flagged, edit the API definitions to correct
    the validation issues.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81318

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    18X

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-28

  • Closed date

    2021-02-08

  • Last modified date

    2021-02-08

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021