Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C70D1E51B for ; Wed, 20 Feb 2013 16:21:59 +0000 (UTC) Received: (qmail 65753 invoked by uid 500); 20 Feb 2013 16:21:59 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 65721 invoked by uid 500); 20 Feb 2013 16:21:59 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 65700 invoked by uid 99); 20 Feb 2013 16:21:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 16:21:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of olemis@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 16:21:53 +0000 Received: by mail-ia0-f171.google.com with SMTP id z13so7383851iaz.30 for ; Wed, 20 Feb 2013 08:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wYOZ93sfYWRdafSwTMEUwWnE/wszrXGKQATrywhcoKU=; b=YrwTlkLi8V0O57sE9My31vUWLuOrcVQK+k61kbAsSrJny4q88/SEpaETnFzWOzZMpi QiMlzroqyibqLMMyGQ6Pwkhn40XbejO728QtZRF5AMN3KomBy94ACLvjlRDiOBGp48Yx iC2dMh0nW0iQJHeBgeICZwDHgpkAxsro/osTFsLHGEEt4Sb/V/8S12vjLmc26pmoDpBq Tqw8MQWqQHiH38IQJmlJiv+QQp6rLz4Nw5JQQ067uaZe7Z4fnqqDt0wsqtwNSnwptidC jp4iXPE2mdaOraboCp7mghGobzd8V9KpLn7SHmFIwNifscz738xiElkRWQRlrDFspmTp qCkg== MIME-Version: 1.0 X-Received: by 10.50.1.198 with SMTP id 6mr10713052igo.0.1361377293121; Wed, 20 Feb 2013 08:21:33 -0800 (PST) Received: by 10.50.8.71 with HTTP; Wed, 20 Feb 2013 08:21:32 -0800 (PST) In-Reply-To: References: <053.51bf3585855e4439e313b2cfef93bcf0@incubator.apache.org> <5124B56F.3060505@digiverse.si> Date: Wed, 20 Feb 2013 11:21:32 -0500 Message-ID: Subject: Re: [BEP-0003] Database upgrade to multi-product (Was: Re: [Apache Bloodhound] #406: Database upgrade to multiproduct) From: Olemis Lang To: bloodhound-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 2/20/13, Andrej Golcov wrote: >> 1. adds 'default' product >> This is the product to which all tickets that don't have product set are >> migrated. As there won't be any global tickets, each ticket needs to be in >> a >> product, so this is where all tickets w/o product set will end up after >> the >> upgrade. The prefix, name and description are currently set to 'default', >> 'Default' and 'Default product' respectively. Open question remains what >> happens if there's a product with the same name already defined in the >> database. Any suggestions? > > My suggestion is to keep things simple here: if there is already > product named "Default', let's assign global tickets to this product. > There should be reason why this product was called "Default" :) > -1 ... IMO we the prefix for the global environment should be an empty string (i.e. '') or NULL (/me slightly in favor of the former) . That will allow us to reserve special behavior for that prefix value (if needed) and will not clash with any other valid product prefix since it's a required field in create product web form (... admin command , ...) -- Regards, Olemis.