[ 
https://issues.apache.org/jira/browse/OFBIZ-12076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Malin updated OFBIZ-12076:
----------------------------------
    Description: 
After a fresh data base init with only seed, if you create your company without 
order prefix, your orderId  sequence will be generate with 'null' string where 
the order prefix should be have :

  > null10001, null10002, ...

This come from the groovy migration of service 'getNextOrderId' where 
productStore.orderNumberPrefix  is loaded on the sequence without control if is 
empty or not

  was:
When you create a fresh database with only seed and you create a society 
without order prefix, your orderId will be generate with null on the sequence :

  > null10001, null10002, ...

This come from the groovy migration of service getNextOrderId where 
productStore.orderNumberPrefix  is loaded on the sequence without control if is 
empty or not


> OrderId with null value on refresh base
> ---------------------------------------
>
>                 Key: OFBIZ-12076
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12076
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Major
>         Attachments: OFBIZ-12076.patch
>
>
> After a fresh data base init with only seed, if you create your company 
> without order prefix, your orderId  sequence will be generate with 'null' 
> string where the order prefix should be have :
>   > null10001, null10002, ...
> This come from the groovy migration of service 'getNextOrderId' where 
> productStore.orderNumberPrefix  is loaded on the sequence without control if 
> is empty or not



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to