-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 7.1.X, 7.2.X
-
Fix Version/s: None
-
Component/s: Asset Framework
-
Labels:None
This might also affect 7.3, I just haven't had a chance to check yet. The issue is similar to what was reported in two other tickets below –
https://issues.liferay.com/browse/LPS-99973
https://issues.liferay.com/browse/LPS-96125
.. I am actually now trying to use a method that is on the AssetEntryLocalService#hasAssetCategoryAssetEntry(categoryId, entry.getEntryId()) – actually it is on the BaseServiceImpl, but you get my point. The method is always returning false, even when it shouldn't. I dug in and found the same thing I reported on the original ticket I added in that the AssetEntries_AssetCategories table is of course empty but the AssetEntryAssetCategoryRel table has the entries I need to reference. Unfortunately, the AssetEntryAssetCategoryRelLocalService doesn't expose these same methods so the only way I can perform this "test" is to use a dynamic query at the moment.
Is it possible to have these methods from the old mapping style ported over to the new version?