Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message for wrong file type refactored. #1619

Conversation

OgunyemiO
Copy link
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/EXUI-1038

Change description

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

Copy link
Contributor

@andywilkinshmcts andywilkinshmcts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to improve the error handling

@OgunyemiO
Copy link
Contributor Author

Need to improve the error handling

@andywilkinshmcts Done!

olusegz07
olusegz07 previously approved these changes Nov 24, 2023
@OgunyemiO OgunyemiO dismissed stale reviews from andywilkinshmcts and olusegz07 via 0933425 December 8, 2023 10:46
Copy link

sonarcloud bot commented Dec 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

32.0% 32.0% Coverage
0.0% 0.0% Duplication

@RiteshHMCTS RiteshHMCTS changed the base branch from master to mc-release-7.4.0 January 11, 2024 11:39
@RiteshHMCTS RiteshHMCTS changed the base branch from mc-release-7.4.0 to master January 11, 2024 11:40
@RiteshHMCTS RiteshHMCTS changed the base branch from master to mc-release-7.0.4 January 11, 2024 11:51
@RiteshHMCTS RiteshHMCTS merged commit cfc8392 into mc-release-7.0.4 Jan 11, 2024
RiteshHMCTS added a commit that referenced this pull request Jan 25, 2024
* Error message for wrong file type refactored. (#1619)

* Error message for wrong file type refactored.

* check statement added

* initialise errorMsg

* PR review comments fix

* version number change

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* datetime format error fix and unit test (#1615)

* datetime format error fix and unit test

* Date format changed to correct incorrect display

* version number changed

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* Ex UI 1112 new branch update hearing requirements event is stuck (#1630)

* objects validation  to prevent runtime errors

* unit test

* version change and code fix

* added else clause

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* remove dynamic list field if value is null frm CYA (#1648)

* remove dynamic list field if value is null frm CYA

* simplified the code

* Added serviceId params to request (#1557)

* Added serviceId params to request

* added a new model file. Unsubscribe subjects

* getOrgService func modified

* duplicate logic removed

* console log msg removed

* Unit tests

* version changed

* Linting issue fixed

* version no change

* version no changed to a newer version

* yarn audit

* version  number changed

* package  json file

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* exui-1152 (#1646)

* exui-1152

* version updated along with sonar failure issue

* sonar issue

* EXUI-830 screen fixes when event raised (#1631)

* Error log added to handleError function

* code comment modified

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* unit test fix

* sonar failure

* unit test added

* Bug/e UI 1229 event complete before task (#1656)

* Rearranging event and task completion

Event completion now set to occur before task completion

* linting and testing

* Additional code changes

Edit for more appropriate code

* Change version for tag

* Add new tests for sonar issues

Also clean code slightly

* Slight technical improvement

* Revert "Slight technical improvement"

This reverts commit 55c40f3.

* Add event completion logic in case of task completion error

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* release notes updated

* version updated

* version updated

* release notes updated with version number

---------

Co-authored-by: OgunyemiO <[email protected]>
Co-authored-by: connorpgpmcelroy <[email protected]>
connorpgpmcelroy added a commit that referenced this pull request Feb 8, 2024
* Error message for wrong file type refactored. (#1619)

* Error message for wrong file type refactored.

* check statement added

* initialise errorMsg

* PR review comments fix

* version number change

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* datetime format error fix and unit test (#1615)

* datetime format error fix and unit test

* Date format changed to correct incorrect display

* version number changed

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* Ex UI 1112 new branch update hearing requirements event is stuck (#1630)

* objects validation  to prevent runtime errors

* unit test

* version change and code fix

* added else clause

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* remove dynamic list field if value is null frm CYA (#1648)

* remove dynamic list field if value is null frm CYA

* simplified the code

* Added serviceId params to request (#1557)

* Added serviceId params to request

* added a new model file. Unsubscribe subjects

* getOrgService func modified

* duplicate logic removed

* console log msg removed

* Unit tests

* version changed

* Linting issue fixed

* version no change

* version no changed to a newer version

* yarn audit

* version  number changed

* package  json file

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* exui-1152 (#1646)

* exui-1152

* version updated along with sonar failure issue

* sonar issue

* EXUI-830 screen fixes when event raised (#1631)

* Error log added to handleError function

* code comment modified

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* unit test fix

* sonar failure

* unit test added

* Bug/e UI 1229 event complete before task (#1656)

* Rearranging event and task completion

Event completion now set to occur before task completion

* linting and testing

* Additional code changes

Edit for more appropriate code

* Change version for tag

* Add new tests for sonar issues

Also clean code slightly

* Slight technical improvement

* Revert "Slight technical improvement"

This reverts commit 55c40f3.

* Add event completion logic in case of task completion error

---------

Co-authored-by: RiteshHMCTS <[email protected]>

* release notes updated

* version updated

* Add error messages for task completion where required

* version updated

* release notes updated with version number

* Make potential fix

* Revert unneccessary changes

* Update form-value.service.ts

---------

Co-authored-by: OgunyemiO <[email protected]>
Co-authored-by: RiteshHMCTS <[email protected]>
Co-authored-by: Ritesh Dsouza <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants