From: Sylvie G. <sgr...@gm...> - 2009-06-02 16:26:41
|
Marc changed some behaviors recently - so I am no more sure. Before it was not a problem to create 2 trackers with the same name, 2 fields in a same tracker with the same name FYI, you can also create 2 calendars with teh same name, 2 fgals with the same names... So this is not local to trackers sylvie On Tue, 2009-06-02 at 15:38 +0100, Jonny Bradley wrote: > Re comments on: http://dev.tikiwiki.org/Release30process#Profiles > about duplicate broken trackers created by running profiles more than > once. > > I've been trying to address this - i've fixed replace_tracker() so > profiles will re-use a tracker with the same name, but tracker admin > can still make many trackers with the same name (why, oh why?) but now > i find replace_tracker_field() deletes any previous field with a given > id and then recreates it (so you loose all the data) - but i suppose > it is called _replace_ > > This seems bad, and presumably the reason for the comments about > bug_tracker profile above. > > I could use the same trick (checking for fieldId===false instead of 0) > to preserve the existing behaviour, but i'm just not sure what the > desired result should be - i know i may well be missing something > here, as a tracker-n00b, so thought i should check (fields with the > same name on a single tracker seems to me like asking for trouble, but > maybe it's a perms/workspace type thing?) > > Any help or pointers to more documentation gratefully appreciated > (nothing significant on this subject on doc.tw.o, afaics) > > Thanks > > jonny > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Tikiwiki-devel mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel |