You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "BJ Freeman (JIRA)" <ji...@apache.org> on 2008/09/25 23:05:44 UTC

[jira] Created: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Setting the SequenceValueItem once the seed and ext data is loaded.
-------------------------------------------------------------------

                 Key: OFBIZ-1969
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: SVN trunk
            Reporter: BJ Freeman
            Priority: Minor
             Fix For: SVN trunk



when doing a ant run-install-extseed of a new  system.
and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
this is to prevent errors when getNextSeqId is called.
these must be adjusted by two means.
1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
ie 
{code}
    <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
{code}
2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644519#action_12644519 ] 

BJ Freeman commented on OFBIZ-1969:
-----------------------------------

LOL 
I don't know.
I think I meant that for the patch for java mail container and was tired.
#2 is more instruction and I guess should be in the FAQ's as you suggest


> Setting the SequenceValueItem once the seed and ext data is loaded.
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-1969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> when doing a ant run-install-extseed of a new  system.
> and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
> this is to prevent errors when getNextSeqId is called.
> these must be adjusted by two means.
> 1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
> ie 
> {code}
>     <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
> {code}
> 2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
> ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642798#action_12642798 ] 

Jacques Le Roux commented on OFBIZ-1969:
----------------------------------------

Hi BJ,

The service mentionned in 2) exists somewhere ?

> Setting the SequenceValueItem once the seed and ext data is loaded.
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-1969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> when doing a ant run-install-extseed of a new  system.
> and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
> this is to prevent errors when getNextSeqId is called.
> these must be adjusted by two means.
> 1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
> ie 
> {code}
>     <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
> {code}
> 2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
> ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

BJ Freeman resolved OFBIZ-1969.
-------------------------------

    Resolution: Fixed

ready for commit 

> Setting the SequenceValueItem once the seed and ext data is loaded.
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-1969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> when doing a ant run-install-extseed of a new  system.
> and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
> this is to prevent errors when getNextSeqId is called.
> these must be adjusted by two means.
> 1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
> ie 
> {code}
>     <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
> {code}
> 2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
> ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1969.
----------------------------------

    Assignee: Jacques Le Roux

If I understand, this should better be in FAQ isn'it ?

> Setting the SequenceValueItem once the seed and ext data is loaded.
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-1969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> when doing a ant run-install-extseed of a new  system.
> and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
> this is to prevent errors when getNextSeqId is called.
> these must be adjusted by two means.
> 1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
> ie 
> {code}
>     <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
> {code}
> 2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
> ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-1969) Setting the SequenceValueItem once the seed and ext data is loaded.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636798#action_12636798 ] 

Jacques Le Roux commented on OFBIZ-1969:
----------------------------------------

Hi BJ,

What do you mean exactly by ready for commit ? Should we close this issue ?

> Setting the SequenceValueItem once the seed and ext data is loaded.
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-1969
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1969
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> when doing a ant run-install-extseed of a new  system.
> and then system includes ID's that are equal to or greater than the SequenceValueItem seqName  	seqId
> this is to prevent errors when getNextSeqId is called.
> these must be adjusted by two means.
> 1) export the SequenceValueItem.xml from the system that generated the ID's then including only the IDs of the entities included  in the data to be initialized.
> ie 
> {code}
>     <SequenceValueItem seqName="ContactMech" seqId="10190" lastUpdatedStamp="2006-06-18 02:50:14.21" lastUpdatedTxStamp="2006-06-18 02:50:14.16" createdStamp="2006-06-18 02:50:14.21" createdTxStamp="2006-06-18 02:50:14.16"/>
> {code}
> 2) a service for that is passed the seqName  will check the entity for the seqName name and set the seqId to a numbe 1 higher than the entitiy shows.
> ie: if ContactMech entity highest number is 10004 then the servcie will set seqName (ContactMech) 	seqId  to 10005

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.