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

Fix GetElementScope method to work with multiple fragments #267

Merged

Conversation

michaelhoehn
Copy link
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #266

Test files

Test File

Changelog

Additional comments

@michaelhoehn michaelhoehn added the type:bug Error or unexpected behaviour label Mar 22, 2022
@michaelhoehn michaelhoehn self-assigned this Mar 22, 2022
@michaelhoehn michaelhoehn changed the title Add conditional and move direct casting to end of method Fix GetElementScope method to work with multiple fragments Mar 22, 2022
@michaelhoehn
Copy link
Contributor Author

@BHoMBot check required

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • code-compliance
  • documentation-compliance
  • project-compliance
  • core
  • null-handling
  • serialisation
  • versioning
  • installer

@michaelhoehn michaelhoehn requested a review from enarhi March 22, 2022 20:57
@michaelhoehn
Copy link
Contributor Author

@BHoMBot check installer

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • installer

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check project-compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • project-compliance

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • code-compliance
  • documentation-compliance
  • project-compliance
  • branch-compliance
  • dataset-compliance
  • copyright-compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

The check code-compliance has already been run previously and recorded as a successful check. This check has not been run again at this time.

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 22, 2022

The check documentation-compliance has already been run previously and recorded as a successful check. This check has not been run again at this time.

Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

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

On a pure code review, I have requested changes to what is written in the file due to some redundant measures.

However, it is difficult to test/review this PR against the issue which was originally raised. The original issue is inadequate in providing replicable details for the bug, the steps necessary to reproduce and test independently, or even describing what should be expected vs should not be expected. As such, it will make it difficult to merge this PR when it is difficult to work out what the original problem was from one single screenshot that is inadequately described.

LifeCycleAssessment_Engine/Query/GetElementScope.cs Outdated Show resolved Hide resolved
@michaelhoehn
Copy link
Contributor Author

On a pure code review, I have requested changes to what is written in the file due to some redundant measures.

However, it is difficult to test/review this PR against the issue which was originally raised. The original issue is inadequate in providing replicable details for the bug, the steps necessary to reproduce and test independently, or even describing what should be expected vs should not be expected. As such, it will make it difficult to merge this PR when it is difficult to work out what the original problem was from one single screenshot that is inadequately described.

@FraserGreenroyd I tried to address your valid concerns regarding the issue description as well as adjust the code. Please feel free to re-review when you're able.

#266 (comment)

Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

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

From a code review this looks fine based on the conversations with @michaelhoehn

@michaelhoehn
Copy link
Contributor Author

Thanks for the code review @FraserGreenroyd. I'm happy to merge this one I receive a functionality review from @kayleighhoude @enarhi or @shivanierambaran if possible. 🦖

@enarhi enarhi self-requested a review June 2, 2022 18:07
Copy link
Member

@enarhi enarhi left a comment

Choose a reason for hiding this comment

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

LGTM

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 2, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • code-compliance
  • documentation-compliance
  • project-compliance
  • branch-compliance
  • dataset-compliance
  • copyright-compliance

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check required

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 2, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • code-compliance
  • documentation-compliance
  • project-compliance
  • core
  • null-handling
  • serialisation
  • versioning
  • installer

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 2, 2022

The check code-compliance has already been run previously and recorded as a successful check. This check has not been run again at this time.

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 2, 2022

The check documentation-compliance has already been run previously and recorded as a successful check. This check has not been run again at this time.

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check installer
@BHoMBot check versioning

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 2, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • installer
  • versioning

There are 9 requests in the queue ahead of you.

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check versioning

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 9, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • versioning

@michaelhoehn michaelhoehn dismissed FraserGreenroyd’s stale review June 9, 2022 14:12

Dismissing as comments have been addressed.

@michaelhoehn
Copy link
Contributor Author

@BHoMBot check ready-to-merge

@bhombot-ci
Copy link

bhombot-ci bot commented Jun 9, 2022

@michaelhoehn to confirm, the following checks are now queued:

  • ready-to-merge

There are 72 requests in the queue ahead of you.

@FraserGreenroyd FraserGreenroyd merged commit c1017a9 into main Jun 9, 2022
@FraserGreenroyd FraserGreenroyd deleted the LifeCycleAssessment_Toolkit-#266-Scope-Fragment-Bug branch June 9, 2022 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluate Flagging Object Fragments Not Containing Scope
3 participants