Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1900

CPA not consulted for re-installed bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • framework-2.0.2
    • None
    • Permission Admin
    • None

    Description

      If a bundle is installed at the same location under which another bundle was installed and uninstalled before, then the CPA is no longer consulted if the bundle also has PA permissions. That can lead to the new bundle not being installed if it depends on permissions granted by the CPA.

      This is caused by the m_store Map in the PermissionAdminImpl still having permission information for that location; see the use of the boolean "file" in the hasPermission method. If it gets set to true due to permissions of the old (now uninstalled) bundle being cached, then the method returns false and the CPA is not consulted.

      Attachments

        1. PermissionAdminImpl.diff
          0.1 kB
          Ulf Dittmer

        Activity

          People

            karlpauls Karl Pauls
            udittmer Ulf Dittmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: