You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/07/21 05:14:00 UTC

[jira] [Commented] (KARAF-7678) ShellTable erroneously clips out text from multi-line column contents

    [ https://issues.apache.org/jira/browse/KARAF-7678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745410#comment-17745410 ] 

ASF subversion and git services commented on KARAF-7678:
--------------------------------------------------------

Commit 4281542e823c1bce1445e444816a5a742f8f288c in karaf's branch refs/heads/main from JB Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=4281542e82 ]

Merge pull request #1716 from CMoH/karaf-7678-fix-shelltable-multiline-clipping

[KARAF-7678] Fix ShellTable multiline clipping

> ShellTable erroneously clips out text from multi-line column contents
> ---------------------------------------------------------------------
>
>                 Key: KARAF-7678
>                 URL: https://issues.apache.org/jira/browse/KARAF-7678
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.4.3
>            Reporter: Ciprian Ciubotariu
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> The {{ShellTable}} implementation clips column contents to the column's {{maxSize}} before inspecting if the contents is sigle or multi-line. This idea works well with single-line row contents, but it is faulty if the column text contains newlines.
> Given that the newline split is already implemented for the text wrapping function, there is an opportunity for the user to pass multi-line table contents.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)