06-16-2010 01:58 PM
[Originally posted on LAVA]
Environment is LV9.0.1 on Windows 7.
I've attached a small project that can be used to repro the bug. It contains 2 libraries, MainLibrary and SubLibrary. The libraries are not nested. SubLibrary contains two classes, Parent and Child. Child inherits from Parent.
Repro:
1. Open the Error List windows. Note there are no errors.
2. Drag SubLibrary into MainLibrary so the entire library is nested. (i.e. MainLibrary:SubLibrary:Parent.lvclass)
Result - The following error occurs in MainLibrary:SubLibrary:Child,
"The parent of this Labview class is private and is not accessible from this class."
Expected Result - No errors.
Work around 1 - Setting the access scope of either Parent.lvclass or SubLibrary.lvlib causes LV to reanalyze the permissions and remove the error.
Work around 2 - When the libraries are not nested, first move all the classes from SubLibrary to MainLibrary. Then nest SubLibrary in MainLibrary. Finally, move the classes from MainLibrary to SubLibrary.
06-17-2010 04:43 PM
Daklu,
I have taken a look at the example project you created and verified the behavior you were seeing. This was reported to R&D (CAR #236169) for further investigation. I also infomed R&D about the workarounds you provided for this issue. Thank you for the feedback!
08-09-2010 05:41 PM
This CAR is fixed in LabVIEW 2010.