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

Quotation generation doesn't use configured temp directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.1
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce

      1. Change the temp directory in your blesta system settings to something other than your system default
      2. Deny access for the web server user to the default temp directory
      3. Attempt to view/download a quotation
      4. Receive an error about permissions (which should only be encountered if it is accessing the default instead of the configured directory)

        Activity

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.8.0 Sprint 2 [ 178 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.8.0 Sprint 2 [ 178 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.8.0 Sprint 2 [ 178 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Comment [ Potential solution:
        In components/quotation_delivery/quotation_delivery.php around line 467 after

        {code:java}
                $quotation_ids = $this->Form->collapseObjectArray($quotations, 'id', 'id');;
        {code}

        add:

        {code:java}
                // Prime company
                $this->primeCompany();
        {code}
        ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              20/Jun/23

              Agile