All of lore.kernel.org
 help / color / mirror / Atom feed
* workaround when moving from managed to interactive builds
@ 2015-03-17  6:01 Reyna, David
  2015-03-17 14:42 ` Damian, Alexandru
  0 siblings, 1 reply; 3+ messages in thread
From: Reyna, David @ 2015-03-17  6:01 UTC (permalink / raw)
  To: toaster

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

Hi all,

FYI, if you should move from managed build to interactive build mode you will need to first delete your browser's cookies for your host's IP address. I encountered this while doing date-range filter code validation for both modes.

This is because the "orderby" field name is saved in the cookies, and that by default holds the field string "created", which does not exist in the model for the "build" table in the interactive mode, and you get a very nasty crash when it tries to look it up.

Alex already has code to compensate for this when going the other way to managed mode. I will probably file a defect to track this.

- David



[-- Attachment #2: Type: text/html, Size: 1264 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workaround when moving from managed to interactive builds
  2015-03-17  6:01 workaround when moving from managed to interactive builds Reyna, David
@ 2015-03-17 14:42 ` Damian, Alexandru
  0 siblings, 0 replies; 3+ messages in thread
From: Damian, Alexandru @ 2015-03-17 14:42 UTC (permalink / raw)
  To: Reyna, David; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

We had to have code for compensation, and that's an unfortunate situation
....

We're looking at separating the code paths for "managed"  and "interactive"
mode in common pages after 1.8 release, and get rid of the cookies hack in
favor of storing preferences in the user session. This should solve the
problem...



On Tue, Mar 17, 2015 at 6:01 AM, Reyna, David <david.reyna@windriver.com>
wrote:

>  Hi all,
>
> FYI, if you should move from managed build to interactive build mode you
> will need to first delete your browser’s cookies for your host’s IP
> address. I encountered this while doing date-range filter code validation
> for both modes.
>
> This is because the “orderby” field name is saved in the cookies, and that
> by default holds the field string “created”, which does not exist in the
> model for the “build” table in the interactive mode, and you get a very
> nasty crash when it tries to look it up.
>
> Alex already has code to compensate for this when going the other way to
> managed mode. I will probably file a defect to track this.
>
> - David
>
>
>
> --
> _______________________________________________
> toaster mailing list
> toaster@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
>


-- 
Alex Damian
Yocto Project
SSG / OTC

[-- Attachment #2: Type: text/html, Size: 2368 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workaround when moving from managed to interactive builds
@ 2015-03-18 18:52 Barros Pena, Belen
  0 siblings, 0 replies; 3+ messages in thread
From: Barros Pena, Belen @ 2015-03-18 18:52 UTC (permalink / raw)
  To: Reyna, David L (Wind River), toaster



On 17/03/2015 06:01, "Reyna, David" <david.reyna@windriver.com> wrote:

>Hi all,
> 
>FYI, if you should move from managed build to interactive build mode you
>will need to first delete your browser¹s cookies for your host¹s IP
>address. I encountered this while doing date-range filter code validation
>for both modes.
> 
>This is because the ³orderby² field name is saved in the cookies, and
>that by default holds the field string ³created², which does not exist in
>the model for the ³build² table in the interactive mode, and you get a
>very nasty crash when it tries to look
> it up.
> 
>Alex already has code to compensate for this when going the other way to
>managed mode. I will probably file a defect to track this.

We have one:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7318

Cheers

Belén

> 
>- David
> 
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-18 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17  6:01 workaround when moving from managed to interactive builds Reyna, David
2015-03-17 14:42 ` Damian, Alexandru
2015-03-18 18:52 Barros Pena, Belen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.