We're updating the issue view to help you get more done. 

Problem with CONSTANT in multipart_id_numbering

Description

Hi,

I am trying to set up a particular multipart ID numbering scheme, where the object identifiers are formatted as following:
ID1, ID2, ID3, ... ID1000, ...

The "ID" part would be a constant, while the numeric part would be a serial auto increment.

I edited the format in multipart_id_numbering.conf as follows:

ca_objects = {
_default_ = {
separator =,

elements = {
id_prefix = {
description = _(ID),
type = CONSTANT,
value = ID,
},
object_number = {
type = SERIAL,
description = _(Object number),
editable = 0,
table = ca_objects,
field = object_id, // tried idno as well here
sort_field = idno_sort
}
}
}
},

However, i'm getting an error when trying to save the object:
http://grab.by/b1E2

Isn't this supposed to work? Am I missing something?

Thanks for the feedback!

Environment

None

Assignee

User known

Reporter

Sven Decabooter

Labels

None

Components

Affects versions

Priority

Major
Configure