-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Instruments variable incorrectly defined #6140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering whether it is necessary to change _selectMultipleElements
to selectMultipleElements
since the impacts to the existing instruments will be real. moreover, we have several other variables with the preifx _
, obviously this is not mandatory to change right now.
If you change the name to without the prefix _
, then there should be several more files to modify, not only these 2 files.
@@ -182,6 +182,11 @@ abstract class NDB_BVL_Instrument extends NDB_Page | |||
*/ | |||
public $preview = false; | |||
|
|||
/** | |||
* Array used by LINST instruments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make the comment more descriptive? Used for what?
Then you need to modify several others files including at least 3 instruments in raisinbread, some wifi pages, instruments templates, and add this as a warning in the release guide. |
@lingma please request changes and specify which classes need to be modified. Thanks |
It looks like it's a list of multi-select elements kept so that they can be converted to/from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/deprecated_wifi/How-to-Code-an-instrument.md: line 14 and 31 (maybe not necessary if this is deprecated)
instruments/NDB_BVL_Instrument_TEMPLATE.class.inc
instruments/NDB_BVL_Instrument_UPLOADER_TEMPLATE.class.inc
raisinbread/instruments/* (3 of them) aosi.class.inc, medical_history.class.inc, mri_parameter_form.class.inc
and add name change to the release warning or release important change zone
I agee with Ling that the other files should be updated too. At least the Raisinbread instruments. |
@lingma @johnsaigle does that cover everything ? |
@ridz1208 the comment update is still missing |
Right, the |
No, I mean the update to the comment that I requested be updated 3 days ago because it's not very descriptive still isn't very descriptive. |
@ridz1208 Makes sense to me, look better now. |
Co-Authored-By: Dave MacFarlane <driusan@gmail.com>
Brief summary of changes
This was showing up as an error on my IDE, the variable is defined as private in the hchild class while the parent class refers to it.
change from
_select...
toselect...
because static checks enforce the ugly_
before private variable rule