[jira] [Commented] (OFBIZ-8343) Make data type field length of id fields accept guid ids

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

[jira] [Commented] (OFBIZ-8343) Make data type field length of id fields accept guid ids

Nicolas Malin (Jira)

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

Michael Brohl commented on OFBIZ-8343:
--------------------------------------

Yes, sure, that's why I don't see a reference to the patch.
In my understanding, the section describes the length for several identifiers such as column names, index names etc.

Pierre's patch modifies the field length for "id" and "id-ne" type fields, that has nothing to do with the field/column names.

Example:

id-ne is defined as varchar(20)
productId is defined as id-ne

-> field/column name is PRODUCT_ID, length 10 (max. 30) -> OK
-> field length is 20, the patch modifies to 36 -> OK

It was a tiring weekend, so I might be missing something important. In that case, please give me a pointer where it is defined that the field length (not the field name length) is limited to 30 characters.


> Make data type field length of id fields accept guid ids
> --------------------------------------------------------
>
>                 Key: OFBIZ-8343
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8343
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>         Attachments: OFBIZ-8343-fieldtype-36.patch, OFBIZ-8343-fieldtype.patch
>
>
> Currently the length of id fields is limited to 20 characters. In order for these fields to accept GUIIDs the length should be increased to 32 characters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)