Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Serial numbering of idno seems broken

Hi!

I have a setup that should assign a unique idno number with each imported image.

The multipart_id_numbering .comf is set up as following (only the relevant part)
formats = {
ca_objects = {
image = {
separator =,
elements = {
object_number = {
type = SERIAL,
minimum_value = 102000,
width = 6,
description = _(Object number),
editable = 1,
table = ca_objects,
field = idno,
sort_field = idno_sort
}
}
},

    __default__ = {
        separator =,

        elements = {
            accession_number = {
                type = FREE,
                width = 30,
                editable = 1,

                description = _(Accession number)
            }
        }
    }

},

It seems to work fine for a while but then the numering starts to loop again and i end up with multiple Idnos that are the same.
Any ide why?
How is the next IDNO calculated and where?

Comments

  • I don't know why this is happening in your case. but there were definitely issues with the numbering system (esp. when used with multiple elements that mixes letters and numbers) that would result in duplicate numbers being issued. Updating to current code will get you these fixes. You also should run "rebuild sort values" under "Maintenance" in the "Administrate" area and see if that helps. The next value in generated by looking at what the last used value is, which in turn relies upon sort operating properly.

  • Thank you for you anwser! Will try to "rebuild sort values" and get back to you.

Sign In or Register to comment.