Skip to content

Fix crash when duplicate node names are used in zone connections object#4640

Merged
Myoldmopar merged 5 commits intodevelopfrom
84202670-DuplicateNodeInZoneConnCausesCrash
Jan 16, 2015
Merged

Fix crash when duplicate node names are used in zone connections object#4640
Myoldmopar merged 5 commits intodevelopfrom
84202670-DuplicateNodeInZoneConnCausesCrash

Conversation

@JasonGlazer
Copy link
Contributor

This is to fix Github issue #4577 , Pivotal #84202670. Change to a single line of code that is part of a error message so it is only executed when the error condition occurs. Thanks to LKL for identifying the problem code.

@nrel-bot
Copy link

@JasonGlazer @lgentile it has been 7 days since this pull request was last updated.

1 similar comment
@nrel-bot
Copy link

nrel-bot commented Jan 3, 2015

@JasonGlazer @lgentile it has been 7 days since this pull request was last updated.

@JasonGlazer
Copy link
Contributor Author

@mjwitte Added a unit test.

@Myoldmopar
Copy link
Member

@JasonGlazer This is a good fix, and the unit test looks great. I made a commit just to clean up a whitespace change, and I'll let CI make a pass through then merge it in.

@JasonGlazer
Copy link
Contributor Author

These CI tests that have failed don't seem be related to the changes in the source files. Could this be from other changes in the source?

@mjwitte
Copy link
Contributor

mjwitte commented Jan 15, 2015

@JasonGlazer To get a clean test, you'll need to merge from develop into this branch. In tortoisegit, switch to develop, pull, switch back to this branch, merge (from develop into this branch). Hopefully it merges without any conflicts.

@JasonGlazer
Copy link
Contributor Author

Hopefully I merged it properly. It took me two times since the first time it did not have @Myoldmopar whitespace padding.

Myoldmopar added a commit that referenced this pull request Jan 16, 2015
…usesCrash Fixes crash when duplicate node names are used in zone connections object
@Myoldmopar Myoldmopar merged commit 22f50c7 into develop Jan 16, 2015
@Myoldmopar Myoldmopar deleted the 84202670-DuplicateNodeInZoneConnCausesCrash branch January 16, 2015 18:40
@Myoldmopar Myoldmopar changed the title Fixes crash when duplicate node names are used in zone connections object Fix crash when duplicate node names are used in zone connections object Mar 7, 2015
@Myoldmopar Myoldmopar added the Defect Includes code to repair a defect in EnergyPlus label Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Defect Includes code to repair a defect in EnergyPlus

4 participants