•  

Comment Results

Review Name Created Custom Fields Content
UI-DEN-2087-1 22 Apr 2020

if case of error of casting 4 it doesn't return 0 it returns nothing.
To answer the question yes the length of the returned QByteArray is the error identification.
In some functions an uninitialized returned object is the way of unsuccessful action like returning null or an empty object.

UI-DEN-2087-1 16 Apr 2020

Add function header with inputs, outputs, and params

UI-DEN-2087-1 16 Apr 2020

Remove commented line.

UI-DEN-2087-1 22 Apr 2020

RESOLVED.

UI-DEN-2087-1 23 Apr 2020

Wait so in that case mData would be written over with the call: Types::setValue(s32, mData)
Then mData is returned, with a length of one.
Would the caller know whether the value was correctly converted to 0, or converted to 0 in error in this case?

DG-DEN-2650-1 22 Apr 2020

Any other conditions needed to be covered here? Or, only this double success condition?

DG-DEN-2650-1 23 Apr 2020

RESOLVED in CODE WALKTHROUGH.

UI-DEN-2793-1 26 Apr 2020

RESOLVED

UI-DEN-2087-1 23 Apr 2020

OK, I made the changes.
I found the point of confusion.
The code in this branch is 2-3 weeks older than latest code. after doing the changes and merge I found out what is the point of the confusion.
I modified the code anyway.

UI-DEN-3024-1 07 May 2020

done

DG-DEN-2650-1 27 Apr 2020

Heaters code should be reviewed in Dara's Heaters and Temps branch. I have a preliminary version of his code to support hardware.

DG-DEN-2652-1 05 May 2020

RESOLVED in CODE WALKTHROUGH.

DG-DEN-2652-1 05 May 2020

RESOLVED in CODE WALKTHROUGH.

DG-DEN-2650-1 06 May 2020

RESOLVED in CODE WALKTHROUGH.

UI-DEN-3024-1 07 May 2020

done

HD-DEN-3115-1 13 May 2020

RESOLVED in CODE WALKTHROUGH.

UI-DEN-3024-1 06 May 2020

What are the ## signs for?

UI-DEN-3024-1 07 May 2020

RESOLVED.

UI-DEN-3024-1 06 May 2020

Remove extra line

UI-DEN-3024-1 07 May 2020

RESOLVED.

HD-DEN-3115-1 18 May 2020

RESOLVED in CODE WALKTHROUGH.

HD-DEN-3115-1 11 May 2020

What does impliedFlow mean in terms of controls?

HD-DEN-3115-1 11 May 2020

Why commented out?

HD-DEN-3115-1 11 May 2020

measuredMotorSpeed

HD-DEN-3115-1 11 May 2020

Where does this constant come from? Create a #define for it.

DIALIN-DEN-2652-1 20 May 2020

Should these test scripts even be code reviewed? I view this folder as a play area for developers. I put my name in the file name to help me find my scripts.

DIALIN-ACK-1 27 Mar 2020

Generally speaking, do we want to have a mix of Dialin API code and Python test scripts?

UI-DEN-2087-1 22 Apr 2020

If the vData = 0 and is converted from a QVariant::UInt, QVariant::Int, or QVariant::Float to quint32, qint32, or float successfully, how would the caller of fromVariant know whether the value was converted successfully or not?

DG-DEN-4217-1 17 Aug 2020

RESOLVED IN CODE WALKTHROUGH.

UI-DEN-4690-1 09 Sep 2020

RESOLVED.

DG-COMMON-FIX-1 27 Mar 2020

We always throw a software fault if we find ourselves in an invalid state.

DG-COMMON-FIX-1 27 Mar 2020

Is this check solely based on communication over CAN or we are also checking electrically (HW config) that we are connected?

UI-DEN-2087-1 24 Apr 2020

RESOLVED

HD-DEN-3115-1 11 May 2020

measured throughout because it can be confused with measure

UI-DEN-2793-1 26 Apr 2020

Where these all these alarm enums got migrated to?

UI-DEN-2793-1 26 Apr 2020

RESOLVED.

DG-DEN-2379-1 20 May 2020

This seems unreachable. elapsedTime is set before coming to this state so it should never be zero.

DG-DEN-2379-1 20 May 2020

Remove blank lines between case and code for consistency.

DD-LDT-1873-4 02 Sep 2025

Done.

UI-DEN-2087-1 22 Apr 2020

Say for some (unlikely) reason that vData can't be read or converted properly any longer, and there is an error converting it but not an error in checking its type.
If QVariant vData = 4, then you run vData.toInt(&ok) and it's not successful and says 0. How would the caller be able to know there is an error in the conversion just from the message length in this case? int 4 has the same length as int 0.

UI-DEN-2087-1 22 Apr 2020

RESOLVED.

DIALIN-DEN-2652-1 20 May 2020

Addressed.

UI-DEN-2087-1 22 Apr 2020

RESOLVED.

UI-DEN-2087-1 16 Apr 2020

Add function header with inputs, outputs, and params

UI-DEN-3024-1 07 May 2020

These are the codes before MVC implementation and Application was using QVariantList.
Some of these needs to be removed but needs to be carefully tested(investigated) and removed.

DG-DEN-2650-1 27 Apr 2020

This is just a placeholder. I do not believe this is specified anywhere yet - still unknown - but f/w will need to know this I imagine to determine when the line is cleared.

DG-DEN-2650-1 24 Apr 2020

Remove commented code.

DG-DEN-2652-1 05 May 2020

RESOLVED in CODE WALKTHROUGH.

UI-DEN-3253-1 29 Jun 2020

Remove extra lines.

DIALIN-DEN-2652-1 20 May 2020

I suggest these should be booleans instead of 0/1.