Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-561

inconsistent install behaviour on second run

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Installer
    • Labels:
      None

      Description

      If build.xml detects the presence of a V2 relying-party.xml but does not detect idp.properties, it determines that we're in a one-time upgrade-from-V2 scenario.

      Note that after such an upgrade, this condition will no longer be true and things will look like a V3/V3 upgrade, which is reasonable.

      One odd bit of behaviour is that in the V2 case it installs and then deletes the file conf/credentials.xml so that it is not present after a V2 upgrade. It will however reappear the next time that install is run, because that will not be a V2 upgrade.

      This is confusing, or at least it was to me. I think the least surprising option is to remove the deletion of this file from the V2 upgrade process, so that it is always present even if unused. It has commentary to this effect already, so that should be fine.

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m