Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-823

fileExist=Append and tempFileName= should not be used together

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.12.0.redhat-61379
    • 2.10.0.redhat-60024
    • None
    • None

      When using fileExist=Append and tempFileName="someFile" the append option appears to be ignored. This appears to be a result of not being able to append temp file. This can be seen with the tempPrefix as the code will throw an IllegalArgumentException:

      throw new IllegalArgumentException("You cannot set both fileExist=Append and tempPrefix options");
      

      This should also occur when the fileExist=Append and tempFileName are specified.

      A doc update mentioning this would also be help.

            janstey@redhat.com Jonathan Anstey
            rhn-support-jsherman Jason Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: