[daisy] [JIRA] Updated: (DSY-583) Store NULL in some columns containing IDs

Bruno Dumon (JIRA) issues at cocoondev.org
Sun Mar 9 15:00:04 CET 2008


     [ http://issues.cocoondev.org//browse/DSY-583?page=all ]

Bruno Dumon updated DSY-583:
----------------------------

    Fix Version: 2.3
                     (was: 2.2)

> Store NULL in some columns containing IDs
> -----------------------------------------
>
>          Key: DSY-583
>          URL: http://issues.cocoondev.org//browse/DSY-583
>      Project: Daisy
>         Type: Improvement
>   Components: Repository
>     Reporter: Bruno Dumon
>     Priority: Minor
>      Fix For: 2.3

>
> In Daisy's API, if ID properties are not defined they typically return '-1'.
> In some cases, we also store this -1 in the database, for example these columns in the table document_variants:
>  - liveversion_id
>  - created_from_branch_id
>  - created_from_lang_id
>  - created_from_version_id
> In the added translation management fields, we rather store NULL instead for such columns.
> We should probably make this consistent, unless there's a good reason not too.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list