bcgov / bcgov/entity

Business API (Outputs): Officer Address Delivery Instructions not displayed correctly in Business Summary

Open
#32,419 3 comments 0 reactions 0 assignees View on GitHub
bug Entities Team Search
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

TODO: also check mailing address delivery instructions and long names (including preferred name).

**Describe the bug in current situation**

When adding an Officer & entering their addresses the Delivery Instructions field accepts up to 80 characters but this is not displayed correctly on ~either the list of Officers on the Officers page or~ the Business Summary.

Sample of 80 characters of text - ""123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-"

Business Summary:

image.png

Needed change - get that field to wrap onto additional line(s) when text is longer than space available on single line on Officers page & Business Summary

**Link bug to the User
Story**

**Impact of this bug**
Look at officers, Directors - ensure all field wrap properly

Loss of information in how it is displayed

**Chance of Occurring (high/medium/low/very low)**

It'll happen every time there is a Officer that tries to put long text in that field - which is probably not that often

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

- Add Officer
- Put long text in Delivery Instruction field
- Submit

**Actual/ observed behavior/ results**

see above

**Expected behavior**
A clear and concise description of what you expected to happen. Use the gherking language.

Expectations - we should be able to see all the data entered

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

**Root Cause Analysis (RCA) results**
If applicable, document the root cause analysis results for the scenarios. This section is mandatory before the issue can be closed

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by adding an Officer with an 80-character Delivery Instructions value, then inspect how that value is rendered on the Officers page and Business Summary. Check the related long-name and preferred-name cases mentioned in the TODO. Done means all entered data, including long delivery instructions, wraps onto additional lines and remains visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.