cancel
Showing results for 
Search instead for 
Did you mean: 

Error on adding popover on click event of sap.ui.vbm.Spot

mvaibhav
Contributor

hi Experts,

I have control sap.ui.vbm.GeoMap inside a Map Container and have added Resources and Spots to the Map. I am using Version SAP UI5 1.74.1.

I have binded the items in the Spots and I am able to see the multiple spot items on the Map as mentioned in the Sample below. So far so good.

Geo Map Spots

Now spot has a click event. I f i try to open a window using the openWindow method on the spot ( as mentioned in SAP Samples), the window opens as expected.

evt.getSource().openDetailWindow("My Detail Window", "0", "0");

I added a Popover as fragment to my application and I am now trying to open the fragment on the click of Spot. But the program goes into exception with the following error even though the spot is visible on the Map :

20020-03-03 19:44:01.969135 sap.m.Popover id = __popover1-popover: is opened by a control which isn't rendered yet. -

On further analysis, i found that the renderer for a Spot is sap.ui.vbm.SpotsRenderer. But i could not find any .js file in the sap.ui.vbm library with the same name. So i am not sure if its because of some missing library or I am missing something else.

I have check the fragment code and am able to open it on the click of a button.

Please let me know if I am thinking in the incorrect direction or doing something wrong.

Thanks,

Vaibhav Maheshwari

mvaibhav
Contributor
0 Kudos

hi Experts,

Can anyone please direct me to the correct path on the above issue ?

If it's a UI5 Library Issue, how do i report it to the concerned team ?

zouzounos
Explorer
0 Kudos

Hi Vaibhav,
One year later, I'm facing the exact same issue, did you manage to get around this?
Cheers,
Greg

mvaibhav
Contributor
0 Kudos

hi zouz_kpmg,

I wasn't able to get a solution for the same. Its seems to be renderer issue.
Please try the same in latest SAP UI5 Version. Hope this has been fixed with the new UI5 release.

Thanks,

Vaibhav

0 Kudos

Hi,

Another one year late, I'm facing the same issue, Is there any solution to get around this?

Cheers,

Hay

gregorw
Active Contributor
0 Kudos

Has anyone of you ever filed an incident via SAP Support?

mvaibhav
Contributor
0 Kudos

I was not aware of the process to report incident for UI5 to concerned team...so didn't filed any incident.

Accepted Solutions (0)

Answers (0)