JBehave
  1. JBehave
  2. JBEHAVE-850

Tables in ODT files are not parsed

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4, 3.8
    • Component/s: ODF Support
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      Hi,
      We are using ODT files to write our stories and we are using tables. The tables are not parsed anymore. I made a patch where I moved from odfdom-java to simple-odf which appear to be the successor.
      I also included the binary odt file I used to test the code

      1. a_story.odt
        6 kB
        Bart De Neuter
      2. patch.txt
        4 kB
        Bart De Neuter

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 3.7.4 [ 18964 ]
        Hide
        Mauro Talevi added a comment -

        Hi Bart,

        the patch does not seem to be a text file and can't be applied by git patch. How did you create it?

        Can you please simply attach the result of: git diff > patch.txt

        Cheers

        Show
        Mauro Talevi added a comment - Hi Bart, the patch does not seem to be a text file and can't be applied by git patch. How did you create it? Can you please simply attach the result of: git diff > patch.txt Cheers
        Bart De Neuter made changes -
        Attachment patch.txt [ 61934 ]
        Hide
        Bart De Neuter added a comment -

        Mauro,

        The patch was created with the command you gave.
        I uploaded a new patch patch.txt and tried it with patch -p1 < patch.txt.
        This one should work.

        Kind regards,
        Bart

        Show
        Bart De Neuter added a comment - Mauro, The patch was created with the command you gave. I uploaded a new patch patch.txt and tried it with patch -p1 < patch.txt. This one should work. Kind regards, Bart
        Hide
        Bart De Neuter added a comment -

        This is the correct patch. I forgot to remove one call to a deprecated method

        Show
        Bart De Neuter added a comment - This is the correct patch. I forgot to remove one call to a deprecated method
        Bart De Neuter made changes -
        Attachment patch.txt [ 61935 ]
        Bart De Neuter made changes -
        Attachment patch.txt [ 61934 ]
        Bart De Neuter made changes -
        Attachment jbehave-odf.patch [ 61926 ]
        Hide
        Mauro Talevi added a comment -

        Applied with thanks.

        Show
        Mauro Talevi added a comment - Applied with thanks.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.8 [ 19104 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Bart De Neuter
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: