Details

      Description

      Apparently the translation file on DemoBundle stopped working after upgrading to Symfony 2.5.x

      Steps:

      Make a clean installation using Demo with content
      Click on "Contact Us"
      Add a name with over 255 characters
      Fill the rest of the form
      Click on "Send form" button
      You'll notice the error, next to the First name "feedback.max_size.255" when it should be "This field cannot be longer than 255 characters"

        Issue Links

          Activity

          Show
          André Rømcke added a comment - Caused by: https://github.com/ezsystems/ezpublish-community/commit/4dd04e2af2a688aadb280d1194d9f2bf79caabf0#diff-65062e165fbcd386b94ea20c9a85c7d8L7
          Hide
          Yannick Roger (Inactive) added a comment - - edited

          A workaround is to uncomment:

          #translator:      { fallback: "%locale_fallback%" }
          

          in ezpublish/config.yml

          It was commented out in https://github.com/ezsystems/ezpublish-community/commit/4dd04e2af2a688aadb280d1194d9f2bf79caabf0

          Some more work needs to be done on this config and should fix this problem.

          Show
          Yannick Roger (Inactive) added a comment - - edited A workaround is to uncomment: #translator: { fallback: "%locale_fallback%" } in ezpublish/config.yml It was commented out in https://github.com/ezsystems/ezpublish-community/commit/4dd04e2af2a688aadb280d1194d9f2bf79caabf0 Some more work needs to be done on this config and should fix this problem.
          Show
          André Rømcke added a comment - Fixed as part of https://github.com/ezsystems/ezpublish-community/commit/c4f543e105754d3c30fa39a7dfbda2995e4920c2
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
          Hide
          Patrick Allaert added a comment -

          Tested and approved by me (It works! Thanks!)

          Show
          Patrick Allaert added a comment - Tested and approved by me (It works! Thanks!)

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: