Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28860

Fix using view builders with closure controllers

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.7.8
    • 1.7.7
    • None
    • None

    Description

      In Symfony, controller can be a closure, in addition to referencing the controller with 'service:method' or 'Bundle:Controller:Action'.

      Using closure as a controller results in a warning that strpos cannot be used because the argument is not a string.

      The error comes from the view builder system that assumes that the controller is always a string.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f8f4635f-c125-4f25-94af-5c94e74ef8c1@accounts.ibexa.co Edi Modrić
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: