Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1603016 - [converged] Project multi-lines description can not edit correctly from Annotations overlay panel
Summary: [converged] Project multi-lines description can not edit correctly from Annot...
Keywords:
Status: NEW
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-19 02:13 UTC by XiaochuanWang
Modified: 2018-08-08 12:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description XiaochuanWang 2018-07-19 02:13:02 UTC
Description of problem:
Create a project with multi lines description, browse to the project page and try to update it in Annotations overlay panel. It shows incorrectly and will update as one line string.

Version-Release number of selected component (if applicable):
docker.io/openshift/origin-console                                           latest              5188f5035cee        6 hours ago         259 MB
openshift v3.10.18

How reproducible:
Always

Steps to Reproduce:
1. Create a project with multi lines description, browse to the project page
2. Check the Annotation overlay panel on "Namespace Overview" page.
3. Input something and hit Enter
4. Check the project annotations in YAML 

Actual results:
2. Multi-lines description display in oneline without any escape.
3. It will be saved when hitting Enter.
4. Update the description as one line string 

Expected results:
Multi-lines description should not show and update like one line string.

Additional info:

Comment 1 Samuel Padgett 2018-07-19 12:17:01 UTC
The annotation editor is not designed to let you add multiline values. It will preserve existing multiline values you don't change, however, and it is still possible to add multiline annotations in the YAML editor.

We should decide if there's a small change we can make to support this (maybe show existing multiline annotation values using a text area?), but arguably this is an enhancement rather than a bug fix.

Changing severity to low in the meantime since existing values are preserved and there's an easy workaround using the YAML tab.


Note You need to log in before you can comment on or make changes to this bug.