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

Bug/bi 1158 #152

Merged
merged 6 commits into from
Dec 15, 2021
Merged

Bug/bi 1158 #152

merged 6 commits into from
Dec 15, 2021

Conversation

davedrp
Copy link
Contributor

@davedrp davedrp commented Nov 23, 2021

@davedrp davedrp requested review from a team, dmeidlin and ctucker3 and removed request for a team November 23, 2021 13:56
@github-actions github-actions bot added the bug Something isn't working label Nov 23, 2021
if (this.data && this.data.abbreviations && this.data.abbreviations.length > 0) {
abbSyn = this.data.abbreviations[0];
}

if (this.data && this.data.synonyms && this.data.synonyms.length > 0) {
// Up to synonymsMaxLength synonyms will be shown before , ... cutoff
const synonyms = this.data.synonyms.slice(0, Math.min(this.data.synonyms.length, synonymsMaxLength)).join(", ");
Copy link
Contributor

Choose a reason for hiding this comment

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

Are all of these abbreviation changes intended for this card? The card you linked was only for the changed file template.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After a conversation with Tim, I removed all references to the abbreviation data element. (I have now added a brief comment to the Jira story )

@ctucker3 ctucker3 self-assigned this Nov 23, 2021
@ctucker3
Copy link
Contributor

What branch of bi-api should I be running this on? When running on develop with the file below I get the error in the image:
TraitsTest_BI1148.xls

BI1158_failed_import

@davedrp
Copy link
Contributor Author

davedrp commented Nov 29, 2021

What branch of bi-api should I be running this on? When running on develop with the file below I get the error in the image: TraitsTest_BI1148.xls

There is a bug/bi-1158 branch in bi-api

Copy link
Contributor

@ctucker3 ctucker3 left a comment

Choose a reason for hiding this comment

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

Ran it with the bi-api BI-1158 branch and it worked as expected.

@@ -29,7 +29,7 @@ export class Trait {
traitDescription?: string;
method?: Method;
scale?: Scale;
abbreviations?: Array<string>;
//abbreviations?: Array<string>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like a line that was commented out initially and should now be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deleted

@davedrp davedrp merged commit 32f5fd2 into develop Dec 15, 2021
@davedrp davedrp deleted the bug/BI-1158 branch December 15, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants