Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-463

FormattedMessage within CalloutContext cannot find IntlProvider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Core: F - Sprint 102
    • Story Points:
      1
    • Development Team:
      Prokopovych

      Description

      ClipCopy barfs trying to render a <FormattedMessage> within a callout, I think because it implicitly relies on IntlProvider. Refactoring with useIntl, to allow the intl object to be passed into useCallback as a dependency, should resolve the problem I hope.

      This is the root cause of UIOR-635 and UIIN-1357.

      Interested parties: Charlotte Whitt, Ann-Marie Breaux

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              zburke Zak_Burke
              Reporter:
              zburke Zak_Burke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases