Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-341

Creates a directory instead of a persistent alias file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Alpha1, 0.66.3
    • None
    • main
    • None
    • Hide

      The bug can be seen with the AeshExample or with WildFly 10.CR4.
      Start the example, type the command exit, and check the ${user.home}/.aesh_alias file : it's a directory.
      I've also put a unit test in the PR, that reproduces the bug.

      Show
      The bug can be seen with the AeshExample or with WildFly 10.CR4. Start the example, type the command exit, and check the ${user.home}/.aesh_alias file : it's a directory. I've also put a unit test in the PR, that reproduces the bug.

    Description

      When writing its persistent file, the AliasManager drop the existing one and replace it with an empty directory.
      With the fix, it creates the parent directory when needed and the only creates the file.

      Attachments

        Activity

          People

            spederse@redhat.com Stale Pedersen
            sewatech alexis hassler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: