Tweaks to fail more gracefully: https://github.com/Jasig/uPortal/pull/454
https://github.com/Jasig/uPortal/pull/455 These patches mitigate the pain if you try to turn on sticky profile mapping in e.g. an environment where the RDBMS does not yet include the necessary new table. I made that mistake in trying to promote this solution in MyUW tiers -- I imagine other adopters might as well. Andrew On Mon, Nov 3, 2014 at 9:00 AM, Andrew Petro <[email protected]> wrote: > Calling Lazy Consensus on this changeset. > > https://github.com/Jasig/uPortal/pull/450/ > > If not otherwise actioned before then, I'll feel free to hit merge on this > tomorrow. > > Andrew > > > On Thu, Oct 30, 2014 at 1:24 PM, Andrew Petro <[email protected]> > wrote: > >> At long last, I have a clean version of the code implementing sticky >> profile, suitable for merging to master : >> >> https://github.com/Jasig/uPortal/pull/450/ >> >> On Tue, Oct 28, 2014 at 9:19 AM, Andrew Petro <[email protected]> >> wrote: >> >>> At long last, I have code implementing sticky profile. >>> >>> https://github.com/apetro/uPortal/compare/UP-4223-ap2 >>> >>> I'll see about producing a cleaner branch that doesn't needlessly >>> clobber toString()s. etc. Nonetheless, decent preview of what that >>> changeset proposal will include. >>> >>> Andrew >>> >>> >>> On Mon, Oct 20, 2014 at 9:04 AM, Andrew Petro <[email protected]> >>> wrote: >>> >>>> There may well be interesting future use cases around profile >>>> selection. Or perhaps we will enter a lovely future in which there's >>>> just one responsive profile to handle all comers. I think that's >>>> where MyUW is trying to get with its >>>> forked-from-respondr-responsive-theme : even the amount of stickiness >>>> complexity here is just a transitional feature to gently migrate folks >>>> from Universality to Bucky. >>>> >>>> At the least I'll take a shot at articulating how an adopter would >>>> achieve what you describe by plugging in to the extension points this >>>> solution exposes. >>>> >>>> Kind regards, >>>> >>>> Andrew >>>> >>>> >>>> On Sun, Oct 19, 2014 at 3:16 PM, Anthony Colebourne >>>> <[email protected]> wrote: >>>> > Hi, >>>> > >>>> > I was wondering whether stickiness in this regard should be a build >>>> time or >>>> > runtime choice? >>>> > >>>> > Might there be a use case where both might be required in a single >>>> uPortal >>>> > instance? The only case I can think of is switching from a dedicated >>>> mobile >>>> > theme to a desktop theme while using a mobile device. It's not the >>>> strongest >>>> > case for needing runtime sickness choice, but if these one use-case >>>> then >>>> > there might be others! >>>> > >>>> > The thought that came to mind was >>>> > /Login?profile=bucky&setDefault=true >>>> > or >>>> > /Login?profile=bucky&oneTime=true >>>> > >>>> > -- Anthony. >>>> > >>>> > >>>> > >>>> > On 17/10/14 19:01, Andrew Petro wrote: >>>> >> >>>> >> uPortal developers, >>>> >> >>>> >> MyUW has a need to make ad-hoc profile selection (via profile=bucky >>>> on >>>> >> /Login) less "hoc" and more sticky-across-sessions. >>>> >> >>>> >> UP-4223 took a shot at this but didn't seem to work in MyUW. >>>> >> >>>> >> https://issues.jasig.org/browse/UP-4223 >>>> >> >>>> >> https://github.com/Jasig/uPortal/pull/416 >>>> >> >>>> >> Having looked into this a bit, I'd like to propose this alternative >>>> >> implementation of making profile selection sticky: >>>> >> >>>> >> http://apetro.ghost.io/sticky-profiles/ >>>> >> >>>> >> I'm close to working code implementing this design and intend to >>>> offer >>>> >> a Pull Request once it seems to be working locally. >>>> >> >>>> >> Feedback and design input welcome. >>>> >> >>>> >> Kind regards, >>>> >> >>>> >> Andrew >>>> >> >>>> > >>>> > -- >>>> > You are currently subscribed to [email protected] as: >>>> > [email protected] >>>> > To unsubscribe, change settings or access archives, see >>>> > http://www.ja-sig.org/wiki/display/JSG/uportal-dev >>>> >>> >>> >> > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
