Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-138

FEHelpers should not emit deprecation messages unless customer is using deprecated methods.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • 1.1.2
    • 1.1.1
    • None
    • None

    Description

      FEHelpers angular-editor and vue-editor: are emmiting many warnings to the browser console even though the project/customer code are not using these methods.

      {{EditorContextHelper#isRenderingAnnotation is deprecated since 1.1.0. Use inEditorAsync instead.}}AND:
      EditorContextHelper#inEditor is deprecated since 1.1.0. Use inEditorAsync instead.

      The libraries 

      {{}}

      The libraries should only emit these warnings if the project/customer code uses the methods. Not sure of solution. If libs use the deprecated methods, then those calls should be updated. 

      Otherwise I guess the warnings should be disabled for now and re-enabled when possible.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rsiska Robert Šiška
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD