Howdy, Stranger!

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

In this Discussion

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.

problem with not wanted duplicating of id numbers

I have a problem with not wanted duplicating of id numbers.
Setting in app.conf is set to 0:
allow_duplicate_id_number_for_ca_objects = 0

But when somebody double click on SAVE button, object duplicates with the same ID number and warning:
"AAA/BBB/66 Identifier is already in use 2 times".
Providence 1.4 creates two objects with the same IDNO.

If you click 5 times - 5 objects appear.

Please, help me to solve that case.
Marek

Comments

  • Post your multipart_id_numbering.conf file please. And consider upgrading to version 1.7, as we're not supporting 1.4 any longer.

  • Hi! Files are not allowed for me. Here is a part od multipart_id_numbering.conf

    formats = {
    ca_objects = {
    default = {
    separator = /,

            elements = {
    
                owner_symbol = {
                    type = LIST,
                    values = [CBNBP, CPNBP, NBPDES, NBPDA],
                    default = NBPDES, 
                    width = 6, 
                    description = _(Accession type), 
                    editable = 0                    
    
                },
    
                accession_number1 = {
                    type = LIST, 
                    values = [RDK, P, K, D], 
                    default = RDK, 
                    width = 6, 
                    description = _(Accession type), 
                    editable = 0
                },
    
                object_number = {
                    type = SERIAL, 
                    width = 6, 
                    description = _(Object number), 
                    editable = 0,
                    table = ca_objects,
                    field = idno,
                    sort_field = idno_sort
                }
    
            }
        },
    
        banknot-1 = {
            separator = /,
    
    
            elements = {
    
                owner_symbol = {
                    type = LIST,
                    values = [CBNBP, CPNBP, NBPDES, NBPDA],
                    default = NBPDES, 
                    width = 6, 
                    description = _(Accession type), 
                    editable = 0                    
    
                },
    
                accession_number1 = {
                    type = LIST, 
                    values = [RDK, P, K, D], 
                    default = RDK, 
                    width = 6, 
                    description = _(Accession type), 
                    editable = 0
                },
    
                object_number = {
                    type = SERIAL, 
                    width = 6, 
                    description = _(Object number), 
                    editable = 0,
                    table = ca_objects,
                    field = idno,
                    sort_field = idno_sort
                },
    
                object_number2 = {
                    type = SERIAL,
                    width = 4,
                    description = object_number2,
                    editable = 0,
                    table = ca_objects,
                    field = idno,
                    sort_field = idno_sort
    
    
                }
            }
        },
    
Sign In or Register to comment.