Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

6.0.8 in CSV export
 
Notifications
Clear all

6.0.8 in CSV export

7 Posts
2 Users
0 Reactions
6,535 Views
(@papjul)
Posts: 143
Active Member
Topic starter
 
[#4115]

Hi,

Steps to reproduce:
1) Use the plain text editor
2) Export as CSV a list of risks with multiple lines for description and mitigation plan
3) Break line returns are "replaced" with
I don't think CSV supports break line returns, so you will probably need to replace the returns with another character.
However, what interests me the most is an alternate solution which would make it possible to export as PDF these columns, however I can't see description and mitigation plan in the columns list.


 
Posted : 17 Feb 2017 12H49
(@babynus)
Posts: 14952
Member Admin
 

Ticket #2560 recorded about
tags.

Right, PDF export fits list fileds, and long fileds are not proposed to avoid performance issues...
Did you have a louok at Test Case Reports ?


 
Posted : 17 Feb 2017 18H55
(@papjul)
Posts: 143
Active Member
Topic starter
 

What about hiding these columns by default and if we really need them, we can add them despite the performance issues?
I discovered the Risk management plan report, however there is no "mitigation plan" column in this report, could you add it?
Thanks,


 
Posted : 17 Feb 2017 19H12
(@babynus)
Posts: 14952
Member Admin
 

Request recorded as Ticket #2562


 
Posted : 17 Feb 2017 19H25
(@papjul)
Posts: 143
Active Member
Topic starter
 

Hi, how did you fixed #2560?
I want to try to backport the fix to 6.0.8 while waiting to have time to upgrade to 6.1.x.
Thanks!


 
Posted : 13 Mar 2017 13H37
(@babynus)
Posts: 14952
Member Admin
 

In tool/jsonQuery.php, line 611, replace

  if ($dataLength[$id]>4000 ) {
    if (isTextFieldHtmlFormatted($val)) {
      if (!$exportHtml) {
        $text=new Html2Text($val);
    	$val=$text->getText();
      }
    } else {
      $val=br2nl($val);
    }
  }

with

  if ($dataLength[$id]>4000 ) {
    if (isTextFieldHtmlFormatted($val)) {
      if (!$exportHtml) {
        $text=new Html2Text($val);
        $val=$text->getText();
      }
    } else {
      $val=br2nl($val);
    }
  }

 
Posted : 14 Mar 2017 2H08
(@papjul)
Posts: 143
Active Member
Topic starter
 

Understood.

Function br2nl() also needs to be added to projeqtor.php
Thanks!


 
Posted : 14 Mar 2017 14H17
Share:

Scroll to Top