Grails
  1. Grails
  2. GRAILS-5143

ByteArrayMarshaller registered by grails don't work

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: Converters
    • Labels:
      None
    • Environment:
      windows xp, grails 1.1.1, jdk 1.6

      Description

      ByteArrayMarshaller registered by grails don't work, I have to register it myself like this:

      JSON.registerObjectMarshaller(new org.codehaus.groovy.grails.web.converters.marshaller.json.ByteArrayMarshaller())

        Activity

        Hide
        Krystian Szczesny added a comment -

        And how things are progressing?
        This is kind of important.

        I would like to know how to override only one default marshaller and let every other be as it was before.

        Show
        Krystian Szczesny added a comment - And how things are progressing? This is kind of important. I would like to know how to override only one default marshaller and let every other be as it was before.
        Hide
        foxgem added a comment -

        Maybe you should use it in this style:

        1.get old
        2.set new
        3.use it
        4.reset old

        hope it is helpful.

        Show
        foxgem added a comment - Maybe you should use it in this style: 1.get old 2.set new 3.use it 4.reset old hope it is helpful.

          People

          • Assignee:
            Siegfried Puchbauer
            Reporter:
            foxgem
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development