[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler-devel
Subject:    Re: Bug with saving objects in the web GUI
From:       Jörgen_Maas <jorgen.maas () gmail ! com>
Date:       2011-11-03 6:10:17
Message-ID: CAL3dZDesiVyyXJVousyM0k7G_q+nwbkUpySz3_ZxX8cWbRpNGQ () mail ! gmail ! com
[Download RAW message or body]

On Thu, Nov 3, 2011 at 3:57 AM, James Cammarata <jimi@sngx.net> wrote:
> I ran across this tonight, and thought I'd send an email out in case
> others run into it in the future.
>
> I noticed that trying to create an object (for example a system) was
> failing when there were no other objects of that kind stored in
> cobbler. I tracked the issue back to a feature we introduced in 2.2,
> where an object's fields were updated only if the field value changed.
>
> I've corrected the issue, which will be included in the next release.
> For now, if you run into this issue I believe you can fix it by
> manually deleting all of the files in the sessions directory
> (/var/lib/cobbler/webui_sessions/ by default) since that is where the
> cached field information is stored. A sign that you're running into
> this issue is a log message in cobbler.log similar to this:
>
> INFO | add_item(profile); ['']
>
> Notice the empty string - that should be the object name. The field
> info is stored in a hash, where the key is "type_name" (for example:
> profile_test1), so theoretically if you add an object, then delete it,
> then recreate it with the exact same name you could theoretically run
> into this too, where fields are not updating like you'd expect.
> Overall, I'm noticing some name space pollution in the session, so I
> may work on cleaning that up in the near future.

James,

I'm chasing another curruption... renaming object's (at least system
objects) seems to be totally broken in my testing environment. Might
be related...

-- 
Grtz,
Jörgen Maas
_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic