Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-8030

Title gets excessively truncated if it only contains space near heading point

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Low Low
    • N/A
    • 4.1.2, 4.2.1, 4.3.1, 4.4.0
    • None

      Summary

      Crucible truncates title too much if it only contains space near heading point.
      This behaviour's severity is more serious for non latin char users because they don't use space as word divider.

      Environment

      Verified by major latest browsers

      • Chrome Version 58.0.3029.110 (64-bit)
      • Safari Version 10.1.1 (11603.2.5)

      Steps to Reproduce

      1. Create review whose title is "AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"
      2. Close the review
      3. Check the title is excessively truncated. In this case, it will be "AT-12345:...".

      Expected Results

      Truncate a proper amount of title.

      Actual Results

      The first ASCII chars will be rendered.
      It is more likely to be excessively truncated if review status is closed.

      Notes

      I verified that this behaviour depends on some conditions such as:

      • Title length should be long enough: 81+ chars
      • Title should only contains space in heading point
      • Review status affects rendering:
        • Chrome: it happens only if review status is closed
        • Safari: it happens even review status is open/closed

      This behaviour occurs not only in multibyte chars but also ASCII chars if it only contains space near heading point such as:
      AT-12345: TXUAARDCGTZJXKJVSCZOPYZDYSNMCAYFGVHAFRJKIHJJBZBMXRUUDJWOENOHECCPXUFTWKUDRNCFJFVB

      Workaround

      • Click title to edit if review status is open. This isn't applicable for closed review.

            [CRUC-8030] Title gets excessively truncated if it only contains space near heading point

            Marek Parfianowicz made changes -
            Fix Version/s New: N/A [ 54415 ]
            Marek Parfianowicz made changes -
            Resolution New: Answered [ 9 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Marek Parfianowicz made changes -
            Labels Original: review New: jac-cleanup-phase6 review
            Owen made changes -
            Workflow Original: FE-CRUC Bug Workflow [ 2938960 ] New: JAC Bug Workflow v3 [ 2955364 ]
            Owen made changes -
            Workflow Original: FECRU Development Workflow - Triage - Restricted [ 2021533 ] New: FE-CRUC Bug Workflow [ 2938960 ]
            Status Original: Open [ 1 ] New: Gathering Impact [ 12072 ]
            Piotr Swiecicki made changes -
            Occurrence Factor New: 10% [ 12830 ]
            Labels New: review
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            K. Yamamoto made changes -
            Description Original: h3. Summary

            Crucible truncates title too much if it only contains space near heading point.
            This behaviour's severity is more serious for non latin char users because they don't use space as [word divider|https://en.wikipedia.org/w/index.php?title=Word_divider&oldid=773746279].


            h3. Environment

            Verified by major latest browsers
             * Chrome Version 58.0.3029.110 (64-bit)
             * Safari Version 10.1.1 (11603.2.5)

            h3. Steps to Reproduce
             # Create review whose title is _"AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"_
             # Close the review
             # Check the title is excessively truncated. In this case, it will be _"AT-12345:..."_.

             !Screenshot 2017-05-30 17.46.53.png|thumbnail! !Screenshot_2017-05-30_17_24_14.png|thumbnail! !Screenshot_2017-05-30_17_24_52.png|thumbnail!

            h3. Expected Results

            Truncate a proper amount of title.

            h3. Actual Results

            The first ASCII chars will be rendered.
            It is more likely to be excessively truncated if review status is closed.

            h3. Notes
            I verified that this behaviour depends on some conditions such as:
            * Title length should be long enough: 81+ chars
            * Title should only contains space in heading point
            * Review status affects rendering:
            ** Chrome: it happens only if review status is closed
            ** Safari: it happens even review status is open/closed

            This behaviour occurs not only in multibyte chars but also ASCII chars if it only contains space near heading point such as:
            "AT-12345: TXUAARDCGTZJXKJVSCZOPYZDYSNMCAYFGVHAFRJKIHJJBZBMXRUUDJWOENOHECCPXUFTWKUDRNCFJFVB"

            h3. Workaround
            * Click title to edit if review status is open. This isn't applicable for closed review.
            New: h3. Summary

            Crucible truncates title too much if it only contains space near heading point.
             This behaviour's severity is more serious for non latin char users because they don't use space as [word divider|https://en.wikipedia.org/w/index.php?title=Word_divider&oldid=773746279].
            h3. Environment

            Verified by major latest browsers
             * Chrome Version 58.0.3029.110 (64-bit)
             * Safari Version 10.1.1 (11603.2.5)

            h3. Steps to Reproduce
             # Create review whose title is _"AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"_
             # Close the review
             # Check the title is excessively truncated. In this case, it will be _"AT-12345:..."_.

            !Screenshot 2017-05-30 17.46.53.png|thumbnail! !Screenshot_2017-05-30_17_24_14.png|thumbnail! !Screenshot_2017-05-30_17_24_52.png|thumbnail!
            h3. Expected Results

            Truncate a proper amount of title.
            h3. Actual Results

            The first ASCII chars will be rendered.
             It is more likely to be excessively truncated if review status is closed.
            h3. Notes

            I verified that this behaviour depends on some conditions such as:
             * Title length should be long enough: 81+ chars
             * Title should only contains space in heading point
             * Review status affects rendering:
             ** Chrome: it happens only if review status is closed
             ** Safari: it happens even review status is open/closed

            This behaviour occurs not only in multibyte chars but also ASCII chars if it only contains space near heading point such as:
            _AT-12345: TXUAARDCGTZJXKJVSCZOPYZDYSNMCAYFGVHAFRJKIHJJBZBMXRUUDJWOENOHECCPXUFTWKUDRNCFJFVB_

            h3. Workaround
             * Click title to edit if review status is open. This isn't applicable for closed review.
            K. Yamamoto made changes -
            Summary Original: Title gets excessively truncated if written in multi-byte characters New: Title gets excessively truncated if it only contains space near heading point
            K. Yamamoto made changes -
            Description Original: h3. Summary

            Crucible truncates multibyte title too much.
            h3. Environment

            Verified by major latest browsers
             * Chrome Version 58.0.3029.110 (64-bit)
             * Safari Version 10.1.1 (11603.2.5)

            h3. Steps to Reproduce
             # Create review whose title is _"AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"_
             # Close the review
             # Check the title is excessively truncated. In this case, it will be _"AT-12345:..."_.

             !Screenshot 2017-05-30 17.46.53.png|thumbnail! !Screenshot_2017-05-30_17_24_14.png|thumbnail! !Screenshot_2017-05-30_17_24_52.png|thumbnail!

            h3. Expected Results

            Truncate a proper amount of title.

            h3. Actual Results

            The first ASCII chars will be rendered.
             It is more likely to be excessively truncated if review status is closed.

            h3. Notes
            I verified that this behaviour depends on some conditions such as:
            * Title length should be long enough: 81+ chars
            * Review status affects rendering:
            ** Chrome: it happens only if review status is closed
            ** Safari: it happens even review status is open/closed

            h3. Workaround
             * Click title to edit if review status is open. This isn't applicable for closed review.
            New: h3. Summary

            Crucible truncates title too much if it only contains space near heading point.
            This behaviour's severity is more serious for non latin char users because they don't use space as [word divider|https://en.wikipedia.org/w/index.php?title=Word_divider&oldid=773746279].


            h3. Environment

            Verified by major latest browsers
             * Chrome Version 58.0.3029.110 (64-bit)
             * Safari Version 10.1.1 (11603.2.5)

            h3. Steps to Reproduce
             # Create review whose title is _"AT-12345: 諸行無常の響きあり、沙羅双樹の花の色、盛者必衰のことわりをあらはす、おごれる人も久しからず、ただ春の夜の夢のごとし、猛きものも終には滅びぬ、ひとへに風の前の塵に同じ"_
             # Close the review
             # Check the title is excessively truncated. In this case, it will be _"AT-12345:..."_.

             !Screenshot 2017-05-30 17.46.53.png|thumbnail! !Screenshot_2017-05-30_17_24_14.png|thumbnail! !Screenshot_2017-05-30_17_24_52.png|thumbnail!

            h3. Expected Results

            Truncate a proper amount of title.

            h3. Actual Results

            The first ASCII chars will be rendered.
            It is more likely to be excessively truncated if review status is closed.

            h3. Notes
            I verified that this behaviour depends on some conditions such as:
            * Title length should be long enough: 81+ chars
            * Title should only contains space in heading point
            * Review status affects rendering:
            ** Chrome: it happens only if review status is closed
            ** Safari: it happens even review status is open/closed

            This behaviour occurs not only in multibyte chars but also ASCII chars if it only contains space near heading point such as:
            "AT-12345: TXUAARDCGTZJXKJVSCZOPYZDYSNMCAYFGVHAFRJKIHJJBZBMXRUUDJWOENOHECCPXUFTWKUDRNCFJFVB"

            h3. Workaround
            * Click title to edit if review status is open. This isn't applicable for closed review.
            K. Yamamoto made changes -
            Link New: This issue is duplicated by FE-6854 [ FE-6854 ]

              Unassigned Unassigned
              kyamamoto@atlassian.com K. Yamamoto
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: