[jira] [Commented] (OFBIZ-12076) OrderId with null value on refresh base

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-12076) OrderId with null value on refresh base

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240566#comment-17240566 ]

ASF subversion and git services commented on OFBIZ-12076:
---------------------------------------------------------

Commit 2ddde9fb6ba9ed81e2b80d60128015695afbd446 in ofbiz-framework's branch refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=2ddde9f ]

Fixed: OrderId with null value on refresh init base
(OFBIZ-12076)

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


> 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
>             Fix For: Upcoming Branch
>
>         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)