Description
Fridolin Somers
2021-05-12 09:43:11 UTC
Created attachment 120859 [details] [review] Bug 28327: System preference CSVdelimiter special case for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 120861 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t (In reply to Fridolin Somers from comment #2) > Created attachment 120861 [details] [review] [review] > Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter > > Run prove t/Koha_Template_Plugin_Koha.t Why do you add the 'val' passthrough to the routine? (In reply to Nick Clemens from comment #3) > (In reply to Fridolin Somers from comment #2) > > Created attachment 120861 [details] [review] [review] [review] > > Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter > > > > Run prove t/Koha_Template_Plugin_Koha.t > > Why do you add the 'val' passthrough to the routine? In case we use it with an existing value from DB. For example in CSV profile we store delimiter (not possible to store \t in DB I bet). So we may need to call this method in the future with a separator value, just to transform 'tabulation' into '\t'. Created attachment 120867 [details] [review] Bug 28327: System preference CSVdelimiter special case for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 120868 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 120869 [details] [review] Bug 28327: (QA follow-up) Add POD This bug is ugly, moving to PQA as very trivial, thanks Frido! Wait I have more patches ;) Created attachment 120870 [details] [review] Bug 28327: System preference CSVdelimiter special case for tabulation in templates System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 120871 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t Created attachment 120872 [details] [review] Bug 28327: System preference CSVdelimiter special case for tabulation in perl System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in perl. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 120873 [details] [review] Bug 28327: use semicolon when preference CSVDelimiter is missing Some places use comma as value when preference CSVDelimiter is missing or empty. From installer/data/mysql/mandatory/sysprefs.sql whe see that defaut install value is semicolon. This patch sets semicolon when preference CSVDelimiter is missing. "We are perl, we love semicolon ;)" Created attachment 120874 [details] [review] Bug 28327: (QA follow-up) Add POD Created attachment 120876 [details] [review] Bug 28135: Replace use of input type number in additem.js This patch corrects in instance where JavaScript is creating an input tag with type "number." To test, apply the patch and make sure the AcqCreateItem system preference is set to "when receiving." - Go to Acquisitions -> Vendor -> Invoices -> Invoice -> Go to receipt page -> Receive. - On the page for receiving items you should see an add item form. - Click the "Add multiple items" button at the bottom of the form. - Test the "Number of items to add" field. It should not accept any input except numbers. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 120877 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in templates System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 120878 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t Created attachment 120879 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in perl System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in perl. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 120880 [details] [review] Bug 28327: use semicolon when preference CSVDelimiter is missing Some places use comma as value when preference CSVDelimiter is missing or empty. From installer/data/mysql/mandatory/sysprefs.sql whe see that defaut install value is semicolon. This patch sets semicolon when preference CSVDelimiter is missing. "We are perl, we love semicolon ;)" Created attachment 120881 [details] [review] Bug 28327: (QA follow-up) Add POD (In reply to Fridolin Somers from comment #9) > Wait I have more patches ;) Here they are. Tell me if your OK with semicolon ';' as default value since it is value in installer/data/mysql/mandatory/sysprefs.sql (In reply to Fridolin Somers from comment #21) > (In reply to Fridolin Somers from comment #9) > > Wait I have more patches ;) > > Here they are. > > Tell me if your OK with semicolon ';' as default value since it is value in > installer/data/mysql/mandatory/sysprefs.sql If a library has the pref not set, this will change behavior - I would move that to its own bug (In reply to Nick Clemens from comment #22) > (In reply to Fridolin Somers from comment #21) > > (In reply to Fridolin Somers from comment #9) > > > Wait I have more patches ;) > > > > Here they are. > > > > Tell me if your OK with semicolon ';' as default value since it is value in > > installer/data/mysql/mandatory/sysprefs.sql > > If a library has the pref not set, this will change behavior - I would move > that to its own bug OK i'm on it Created attachment 126682 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in templates System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 126683 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t Created attachment 126684 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in perl System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in perl. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Created attachment 126685 [details] [review] Bug 28327: (QA follow-up) Add POD Fixed a typo in "CSVdelimiter special case for tabulation in perl" and rebase on current master Created attachment 126964 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in templates System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in template. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 126965 [details] [review] Bug 28327: Add unit tests for Koha::Template::Plugin::Koha::CSVDelimiter Run prove t/Koha_Template_Plugin_Koha.t Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 126966 [details] [review] Bug 28327: CSVdelimiter special case for tabulation in perl System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch fixed when preference is fetch in perl. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 126967 [details] [review] Bug 28327: (QA follow-up) Add POD Signed-off-by: Nick Clemens <nick@bywatersolutions.com> It would have been better to have a new method in Koha.Config that could be called from all the other places as well: admin/aqplan.pl:$del = "\t" if $del eq 'tabulation'; misc/cronjobs/overdue_notices.pl: $sep_char = "\t" if ($sep_char eq 'tabulation'); misc/cronjobs/overdue_notices.pl: $delimiter = "\t" if $delimiter eq 'tabulation'; misc/export_borrowers.pl: $separator = "\t" if ($separator eq 'tabulation'); reports/acquisitions_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/bor_issues_top.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/borrowers_out.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/borrowers_stats.pl:$sep = "\t" if ($sep and $sep eq 'tabulation'); reports/cash_register_stats.pl: $delimiter = "\t" if $delimiter eq 'tabulation'; reports/cat_issues_top.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/catalogue_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/guided_reports.pl: $delimiter = "\t" if $delimiter eq 'tabulation'; reports/issues_avg_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/issues_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/orders_by_fund.pl: $sep = "\t" if ($sep eq 'tabulation'); reports/reserves_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); reports/serials_stats.pl:$sep = "\t" if ($sep eq 'tabulation'); t/Koha_Template_Plugin_Koha.t: is($plugin->CSVDelimiter(), "\t", "CSVDelimiter() returns \\t when preference is tabulation"); t/Koha_Template_Plugin_Koha.t: is($plugin->CSVDelimiter('tabulation'), "\t", "CSVDelimiter(arg) returns \\t value when arg is tabulation"); tools/viewlog.pl: $delimiter = "\t" if $delimiter eq 'tabulation'; With this patch we are adding yet one more occurrences... From the third patch: my $delimiter = C4::Context->preference('CSVDelimiter') || ';'; + $delimiter = "\t" if $delimiter eq 'tabulation'; my $delimiter = C4::Context->preference('CSVDelimiter') || ','; + $delimiter = "\t" if $delimiter eq 'tabulation'; + my $delimiter = C4::Context->preference('CSVDelimiter') || ','; + $delimiter = "\t" if $delimiter eq 'tabulation'; In addition to last comment of Jonathan, if we are adding a function now to control behavior, we should not need to 'fiddle' anymore like in the above lines. Call the function and thats it. Which probably means move the function out of the template plugin, and only leave a wrapper there. Created attachment 131995 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter Created attachment 131996 [details] [review] Bug 28327: Add unit tests Created attachment 131997 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter I propose to add C4::Context->csv_delimiter. This changes patch a lot so I have squashed all of them before amending. Special thanks to you Nick for your help on this. (In reply to Fridolin Somers from comment #38) > I propose to add C4::Context->csv_delimiter. Why did you prefer C4::Context over a method in Koha::Config::SysPref? Koha::Config::SysPref is an object representing an existing preference. How whould we call the new method ? Remember sometimes the separator value is already existing, we don't need the preference, just transform tabulation. Patch no longer applies 8-(.. Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 28327: Add unit tests Applying: Bug 28327: Unify CSV delimiter special behavior for tabulation Using index info to reconstruct a base tree... M C4/Context.pm M koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc M koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt M reports/cash_register_stats.pl M reports/guided_reports.pl Falling back to patching base and 3-way merge... Auto-merging reports/guided_reports.pl Auto-merging reports/cash_register_stats.pl Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt Auto-merging koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc Auto-merging C4/Context.pm CONFLICT (content): Merge conflict in C4/Context.pm error: Failed to merge in the changes. Patch failed at 0001 Bug 28327: Unify CSV delimiter special behavior for tabulation Created attachment 136378 [details] [review] Bug 28327: Add unit tests Created attachment 136379 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter Created attachment 136380 [details] [review] Bug 28327: Add unit tests Created attachment 136381 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter (In reply to Fridolin Somers from comment #45) > Created attachment 136381 [details] [review] [review] > Bug 28327: Unify CSV delimiter special behavior for tabulation It looks like you default to ';' but the majority of code you change defaulted to ',' - can you explain what made you choose seimcolon? I would think comma makes a better default (In reply to Nick Clemens from comment #46) > (In reply to Fridolin Somers from comment #45) > > Created attachment 136381 [details] [review] [review] [review] > > Bug 28327: Unify CSV delimiter special behavior for tabulation > > It looks like you default to ';' but the majority of code you change > defaulted to ',' - can you explain what made you choose seimcolon? I would > think comma makes a better default Mmm it is the default value in installer/data/mysql/mandatory/sysprefs.sql. Actual fallback values is often comma indeed : > git grep "CSVDelimiter') ||" | grep -v misc/translator/ koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt:[%- SET delimiter = Koha.Preference('CSVDelimiter') || ',' -%] koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt:[%- SET delimiter = Koha.Preference('CSVDelimiter') || ',' -%] misc/cronjobs/fines.pl:my $delim = "\t"; # ? C4::Context->preference('CSVDelimiter') || "\t"; misc/cronjobs/overdue_notices.pl: my $sep_char = C4::Context->preference('CSVDelimiter') || ';'; misc/cronjobs/overdue_notices.pl: my $delimiter = C4::Context->preference('CSVDelimiter') || ';'; misc/export_borrowers.pl: $separator = C4::Context->preference('CSVDelimiter') || ','; reports/bor_issues_top.pl:our $sep = $input->param("sep") || C4::Context->preference('CSVDelimiter') || ','; reports/cash_register_stats.pl: my $delimiter = C4::Context->preference('CSVDelimiter') || ','; reports/guided_reports.pl: my $delimiter = C4::Context->preference('CSVDelimiter') || ','; tools/viewlog.pl: my $delimiter = C4::Context->preference('CSVDelimiter') || ','; May we change installer ? Test fail for t/Koha_Template_Plugin_Koha.t: prove t/Koha_Template_Plugin_Koha.t t/Koha_Template_Plugin_Koha.t .. 1/5 # Failed test 'CSVDelimiter() returns comma when preference is empty string' # at t/Koha_Template_Plugin_Koha.t line 99. # got: ';' # expected: ',' # Failed test 'CSVDelimiter() returns comma when preference is undefined' # at t/Koha_Template_Plugin_Koha.t line 102. # got: ';' # expected: ',' # Looks like you failed 2 tests of 8. # Failed test 'Koha::Template::Plugin::Koha::CSVDelimiter tests' # at t/Koha_Template_Plugin_Koha.t line 115. # Looks like you failed 1 test of 5. t/Koha_Template_Plugin_Koha.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- t/Koha_Template_Plugin_Koha.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=1, Tests=5, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.42 cusr 0.04 csys = 0.49 CPU) Result: FAIL Like Nick, I think comma separated makes more sense to me as the default. (comment #46). I tested a couple of places and exported as tab separated - now works as per the test plan (properly tab separated, not the word tabulation). Places tested: Item search, Log viewer. Created attachment 136473 [details] [review] Bug 28327: Add unit tests Created attachment 136474 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter Created attachment 136475 [details] [review] Bug 28327: (follow-up) Comma as default CSV delimiter Looks like most of existing code wants comma as default value. Also impact installer/data/mysql/mandatory/sysprefs.sql. Good catch David and Nick, thanks a lot for your help Created attachment 136535 [details] [review] Bug 28327: Add unit tests Signed-off-by: David Nind <david@davidnind.com> Created attachment 136536 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter Signed-off-by: David Nind <david@davidnind.com> Created attachment 136537 [details] [review] Bug 28327: (follow-up) Comma as default CSV delimiter Looks like most of existing code wants comma as default value. Also impact installer/data/mysql/mandatory/sysprefs.sql. Signed-off-by: David Nind <david@davidnind.com> Testing notes: 1. I hope I have got the text for the release notes correct - I wasn't sure how to describe the changes to all the areas where the CSV export is used/was updated (apart from listing them all). 2. These are a couple of things I noted - these are outside the scope of this bug though: - In areas where DataTables is used (which has its own export function), is it now necessary to have an output section (output to screen and to file)? For example, the log viewer. - For the log viewer, the columns that are exported when using the output area export file are different to that displayed on the screen: . Screen: Date, Librarian, Module, Action, Object, Info, Interface . Output to file from the output selection area: action, barcode, biblioitemnumber, biblionumber, info, interface, module, object, timestamp, user . DataTables export: same as for screen 3. I only tested a couple of areas after the patch was applied: item search, log viewer, and the circulation report (after adding a few check outs). Created attachment 139479 [details] [review] Bug 28327: Add unit tests Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 139513 [details] [review] Bug 28327: Add unit tests Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 139514 [details] [review] Bug 28327: Add unit tests Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 139515 [details] [review] Bug 28327: Unify CSV delimiter special behavior for tabulation System preference 'CSVdelimiter' has a special case for tabulation. Preference value contains string 'tabulation' but string '\t' must be used in CSV file. This is OK in many places, for exemple Bug 17590. This patch adds C4::Context->csv_delimiter to add a uniq metod dealing with this behavior. Also create Koha::Template::Plugin::Koha->CSVDelimiter for calls from Toolkit Templates. Test plan : 1) Set system preference 'CSVdelimiter' = 'tabs'. 2) Create CSV export in impacted pages 3) Check columns are separated by tabulation character and not string 'tabulation' 4) Check with another delimiter Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 139516 [details] [review] Bug 28327: (follow-up) Comma as default CSV delimiter Looks like most of existing code wants comma as default value. Also impact installer/data/mysql/mandatory/sysprefs.sql. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master for 22.11. Nice work everyone, thanks! Backported to 22.05.x for 22.05.06 Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed. Nothing to document it seems, marking resolved. Thanks! Pushed to 21.11 for 21.11.12 Something is odd here, how can this be in 22.11 and 21.11, but not in 22.05? Fixed the Versions from the comments. *** Bug 28363 has been marked as a duplicate of this bug. *** |