Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-833

mainBar adminButtonVisible flag not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0 Beta 1
    • 2.1.5
    • taglibs
    • None
    • all

      I have the following line in a page template jsp, for which I want to hide the AdminCentral button on mainBar:

      <cms:mainBar paragraph="somePrefixPageProperties" adminButtonVisible="false" />

      But, when the page is opened, the 'AdminCentral' button is still visible on the page.

      I tried the following:
      setting it to "true", did not change anything.
      setting it to "xyz", causes no change and no error.
      setting ABCadminButtonVisible="false", causes the following error:
      Attribute ABCadminButtonVisible invalid for tag mainBar according to TLD

      (so, tld is validating it correctly, but something may be happening in setAdminButtonVisible method and after...)

      My current setup:
      ---------------------------------
      Magnolia version: Magnolia 2.1.5
      OS/Hardware: Sun OS 5.8

      If I've understood the use of this attribute wrong, please advise.

      Thanks
      M Rather

        Acceptance criteria

              scharles Sameer Charles
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD