Community
Participate
Working Groups
Build Identifier: Currently there is no way to get the name of an installed module without using deprecated API. ProjectDetails.getName() has been deprecated with a note indicating that IAbstractTigerstripeProject.getName() should be used instead. This is how I invoke this API: ITigerstripeModuleProject installedModule = InstalledModule.makeModuleProject(); String projectName = installedModule.getName(); However, installedModule.getName() returns the model ID as opposed to the project name. This is because InstalledModuleProjectHandle.getName() returns the model ID. If I use the deprecated API String projectName = ProjectDetail.getName() it correctly returns the project name and not the model ID. Reproducible: Always Steps to Reproduce: N/A
Installed modules are always referenced by ModelId. (We have conflicts with "name" and "label" in teh pas - especally when refacoring is used). This is why the getName() method is deprecated. I will update the patch to use modelID. RC