Openui5: Impossible hide MenuItem by visible property

Created on 1 Aug 2016  路  6Comments  路  Source: SAP/openui5

OpenUI5 version: 1.38

Browser/version (+device/version):

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible):

http://stackoverflow.com/questions/38695606/set-visible-property-of-menuitem?noredirect=1#comment64770229_38695606

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:
1.Download zip code from https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.MenuButton/code/MB.view.xml

  1. Set propery visible = 'false' in MenuItem
  2. Run application

What is the expected result?
Every MenuItem where I set visible = false should not be visible

What happens instead?
I see always all MenuItems

Any other information? (attach screenshot if possible)

bug fixed

Most helpful comment

Hi,

Thanks for reporting the issue. I was able to reproduce the issue in this bin.
The property is taken into account when it has rendered already.
Tracked internally 1680193329

best regards,
Tobias

All 6 comments

Hi,

Thanks for reporting the issue. I was able to reproduce the issue in this bin.
The property is taken into account when it has rendered already.
Tracked internally 1680193329

best regards,
Tobias

release1.40.6 fix the bug
But I want use the last long-term maintenance release (1.38.x)... I don't see the fix here

6355c1afa596ef46f79cebf32c43c6185166395a is part of rel-1.38. It's just not part of a patch release, yet.

When can we expect 6355c1a to be made part of a patch release in 1.38?

News?

@cadupper 1.38.8 is now available and contains the fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mauriciolauffer picture mauriciolauffer  路  3Comments

LalitMendha picture LalitMendha  路  3Comments

whydrae picture whydrae  路  4Comments

yaruson picture yaruson  路  3Comments

git-ashish picture git-ashish  路  4Comments