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

Removed redeclaration of _name attribute from MooseApp #29671

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

pbehne
Copy link
Contributor

@pbehne pbehne commented Jan 9, 2025

MooseApp is derived from MooseBase. MooseBase has an attribute called _name, which described the name of the object. MooseApp erroneously redeclares this attribute and does not initialize it. Thus, when a MooseApp or more derived class tries to access _name, it defaults to the empty MooseApp::_name instead of the desired MooseBase::_name. MooseBase::_name is still accessible without using the namespace operator through the name() method because the name() method is not erroneously redeclare in MooseApp. This commit removes the erroneous redeclaration of MooseApp::_name. Closes #29670.

MooseApp is derived from MooseBase. MooseBase has an attribute called _name,
which described the name of the object. MooseApp erroneously redeclares this
attribute and does not initialize it. Thus, when a MooseApp or more derived
class tries to access _name, it defaults to the empty MooseApp::_name instead
of the desired MooseBase::_name. MooseBase::_name is still accessible without
using the namespace operator through the name() method because the name()
method is not erroneously redeclare in MooseApp. This commit removes the
erroneous redeclaration of MooseApp::_name. Ref idaholab#29670.
@pbehne pbehne mentioned this pull request Jan 9, 2025
@pbehne pbehne changed the title Removed redefinition of _name attribute from MooseApp Removed redeclaration of _name attribute from MooseApp Jan 9, 2025
@moosebuild
Copy link
Contributor

Job Documentation, step Docs: sync website on 00a3293 wanted to post the following:

View the site here

This comment will be updated on new commits.

@pbehne pbehne marked this pull request as ready for review January 9, 2025 21:17
@moosebuild
Copy link
Contributor

Job Coverage, step Generate coverage on 00a3293 wanted to post the following:

Framework coverage

Coverage did not change

Modules coverage

Coverage did not change

Full coverage reports

Reports

This comment will be updated on new commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MooseApp erroneously redeclares _name attribute
3 participants