Tuesday, 2016-12-20

*** zara_the_lemur__ has quit IRC03:05
*** openstackgerrit has joined #storyboard04:07
openstackgerritTuan Luong-Anh proposed openstack-infra/storyboard: Replace assertEquals with assertEqual  https://review.openstack.org/40013004:07
*** diablo_rojo has joined #storyboard04:32
openstackgerritTristan Cacqueray proposed openstack-infra/storyboard: Ignore bad requests in notification hook  https://review.openstack.org/40791505:45
*** diablo_rojo has quit IRC06:41
openstackgerritTristan Cacqueray proposed openstack-infra/storyboard: Ignore bad requests in notification hook  https://review.openstack.org/40791507:19
*** pedroalvarez has quit IRC08:29
*** pedroalvarez has joined #storyboard08:29
SotKgood morning!09:02
*** alexismonville has joined #storyboard10:59
*** alexismonville has quit IRC11:10
*** bethwhite has quit IRC11:23
*** bethwhite has joined #storyboard11:27
*** bethwhite has joined #storyboard11:27
*** alexismonville has joined #storyboard12:43
*** alexismonville has quit IRC12:48
*** zara_the_lemur__ has joined #storyboard13:53
zara_the_lemur__afternoon!13:55
zara_the_lemur__huh, I seem to be able to create private stories with no users (discovered while testing 408297, though I can reproduce it on master)14:56
SotKdo they still appear to have no users once you've created them?14:57
persiaThe behaviour I would expect is that the creator would have full access (as a permissioned user) if no explicit grants were performed.14:58
zara_the_lemur__SotK: I think so; I get a 404 'story not found' after I create them and can't see them on the list, but if I create another story after it has the next ID.14:58
zara_the_lemur__making me think it's there and I'm just not allowed to see it.14:58
SotKpersia: that is the behaviour I believe I implemented, but it would appear I broke something14:58
zara_the_lemur__it's not the biggest problem in the world, anyway14:58
zara_the_lemur__(annoying since it's an edge case we already thought of and designed for but hey.)14:59
persiaProbably worth tracking down though, as it seems a bit odd, and may be related to other permissions processing issues.15:00
zara_the_lemur__yep15:01
zara_the_lemur__oh, btw, it does automatically list the creator as a user who can access it, it's just possible to *remove* the creator15:03
zara_the_lemur__and not put any other users in15:03
SotKaha, and that will be making the assumption that "users" is either unset or a populated list here untrue: https://git.openstack.org/cgit/openstack-infra/storyboard/tree/storyboard/api/v1/stories.py#n22015:04
zara_the_lemur__so, set but empty?15:05
SotKindeed15:05
zara_the_lemur__cool15:06
* zara_the_lemur__ forgot again that None != empty...15:07
* persia always forgets that15:07
persiaIs there a sensible way to add a test for that, so that we don't end up breaking it again?15:08
SotKyeah15:08
SotKI intend to add tests for all the teams permissions stuff too over the next couple of weeks15:09
zara_the_lemur__I worry about you15:09
zara_the_lemur__(https://review.openstack.org/#/c/408297/ seems fine, anyway)15:10
zara_the_lemur__(will merge)15:10
SotKthanks :)15:24
*** jpmaxman has joined #storyboard15:27
fungi"400: GET /api/v1/users/preferences: Invalid input for field/attribute user_id. Value: 'preferences'. unable to convert to int"15:32
fungii've probably asked about that before15:32
fungicomes up from time to time when returning to sb, possibly with an expired session15:33
fungidon't recall if there's already a defect report about that15:33
SotKhm, that looks vaguely different to the error message I see when my refresh token has expired I think15:35
SotKthough I may be misremembering15:35
fungii'm skimming active stories and not spotting any15:35
pedroalvarezthis is the story SotK is thinking about: https://storyboard.openstack.org/#!/story/200040715:35
SotKah, looks like I am indeed misremembering then15:36
fungihttps://storyboard.openstack.org/#!/story/2000394 also looks sort of similar15:36
fungii wonder if it manifests differently depending on the page15:36
zara_the_lemur__(yeah, there used to be a worse error, which the first bit of 2000407 refers to; the 'epilogue' is where we're at at the moment)15:37
fungiaha, yep, the quoted error there is indeed the one which was reported to me15:37
* zara_the_lemur__ notes she's messed up her markdown and now the whole thing is italicised...15:39
* zara_the_lemur__ removes the fake html tags15:40
zara_the_lemur__(it used to be wrapped in <I wish I could put this in a marquee> </wishful thinking> but I think some updated component didn't like that.)15:40
*** diablo_rojo has joined #storyboard16:02
*** fay_ has quit IRC17:09
*** bethwhite has quit IRC18:16
*** diablo_rojo has quit IRC19:05
*** diablo_rojo has joined #storyboard19:16
*** SpamapS has joined #storyboard19:21
SpamapS\o/ Yay for the book icon for stories. :)19:22
zara_the_lemur__:D19:22
zara_the_lemur__thanks for the suggestion!19:22
*** alexismonville has joined #storyboard19:24
*** alexismonville has quit IRC21:05
*** alexismonville has joined #storyboard21:10
*** alexismonville has quit IRC21:17
*** bethwhite has joined #storyboard22:27
*** diablo_rojo has quit IRC22:30
*** bethwhite has quit IRC22:35

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!