Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Long variable value breaks Variable Preview layout

Open flin-8 opened this issue 6 years ago • 13 comments

The bug

When a variable value is very long, it expands the size of the columns, pushing the variable values to the right.

image

What I expected to happen

The value should be truncated like in the variable editor

image

Steps to reproduce

  1. Go to project variables
  2. Add a variable with a really long value
  3. Go to variable preview

Affected versions

Octopus Server: 2019.3 - 2019.7

Links

https://help.octopus.com/t/2019-6-3-variable-preview-view-is-broken/23526/2 https://secure.helpscout.net/conversation/1289967798/70904?folderId=3252735 (private link)

flin-8 avatar Jul 17 '19 00:07 flin-8

This also happens on the "All Variables" page

matt-richardson avatar Jul 18 '19 04:07 matt-richardson

@matt-richardson Yep I just saw it too today on the 2019.6.4 LTS version as well.

verzada avatar Jul 18 '19 07:07 verzada

We should probably also consider if truncating long variable values is the best general way to display them, as it makes getting the full value from the preview harder than it should be.

This input was raised here (private link) https://secure.helpscout.net/conversation/940723612/49220?folderId=954335

KennethBates avatar Aug 28 '19 02:08 KennethBates

The Variables Preview works in Internet Explorer 11 - so that is a workaround for now.

verzada avatar Sep 04 '19 07:09 verzada

We should also make sure to address this report of display issue when a user has restricted access to view variables: https://secure.helpscout.net/conversation/953029222/50018?folderId=954335 (private link)

KennethBates avatar Sep 12 '19 02:09 KennethBates

Another report (Internal link) - https://secure.helpscout.net/conversation/1033514251/54508?folderId=2845821

Justin-Walsh avatar Dec 16 '19 17:12 Justin-Walsh

Report of "All" variables page with long value: https://secure.helpscout.net/conversation/1061821942/56087/ (private link)

KennethBates avatar Jan 22 '20 02:01 KennethBates

Another confirmed report on project's Library Variable Sets page: https://help.octopus.com/t/bug-viewing-project-variables-library-sets-table-expands-to-more-than-10x-the-window-width/24590/2

thedewi avatar Feb 04 '20 00:02 thedewi

Another report: https://help.octopus.com/t/variable-preview-not-usable/26879

donnybell avatar Jul 07 '21 18:07 donnybell

Any efforts looking into making long values viable?

verzada avatar Jul 07 '21 19:07 verzada

Another report here: https://help.octopus.com/t/tidying-up-the-all-and-variable-preview-pages/27082

patrick-smergut-octopus avatar Aug 30 '21 16:08 patrick-smergut-octopus

Any thoughts about fixing the issue?

verzada avatar Nov 15 '21 12:11 verzada

In current versions, the length is truncated but there is a tooltip with the full value including its internal line breaks. So that works for us.

rpresser avatar Aug 09 '24 14:08 rpresser