Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1753

Support Manager Plugin: When writing attachments to disk, try creating the support_manager_files directory if it does not already exist

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 4.1.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      Often times the Support Manager plugin is installed prior to the uploads directory being writable, so that the ~upload_path/1/support_manager_files/ directory is not created.

      After that, it must be manually created in order to upload attachments, since it could not be created during plugin install.

      The plugin should check that the directory exists first, and if it doesn't attempt to create it before writing any attachments to disk. This will remove the headache of having to create the directory manually in such cases.

        Issue Links

          Activity

          admin Paul Phillips created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Story Points 2
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.1.0 Sprint 1 [ 38 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Assignee Tyson Phillips [ tyson ]
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #13 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.1.0 Sprint 4 [ 38 ] 4.1.0 Sprint 4, 4.1.0 Sprint 5 [ 38, 42 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #13 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.1.0 [ 11007 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          admin Paul Phillips made changes -
          Link This issue Testing discovered CORE-2424 [ CORE-2424 ]

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/Jul/17

                Agile