EPrints Technical Mailing List Archive

Message: #04212


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: eprintid reassignment


Thanks Ian,

sounds like I need to do a bit research for that one.
>>> <eprints-tech-request@ecs.soton.ac.uk> 11/05/2015 12:00 >>>
Send Eprints-tech mailing list submissions to
    eprints-tech@ecs.soton.ac.uk

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
or, via email, send a message with subject or body 'help' to
    eprints-tech-request@ecs.soton.ac.uk

You can reach the person managing the list at
    eprints-tech-owner@ecs.soton.ac.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eprints-tech digest..."


Today's Topics:

   1. Re: Auto complete not working for authors (Jacob Wenzel)
   2.  eprintid reassignment (Simon Jennings)
   3. Re: eprintid reassignment (Ian Stuart)


----------------------------------------------------------------------

Message: 1
Date: Sun, 10 May 2015 13:32:47 +0200
From: Jacob Wenzel <jw@energiakademiet.dk>
Subject: [EP-tech] Re: Auto complete not working for authors
To: eprints-tech@ecs.soton.ac.uk
Message-ID: <554F41DF.4070404@energiakademiet.dk>
Content-Type: text/plain; charset=windows-1252; format=flowed

I have the same problem with Eprints 3.3.14 on Ubuntu 12.04.5 LTS with
MySQL 5.5.43.

I made a simple auto complete file for the projects field, that worked
in Eprints 3.3.12, but broke in 3.3.13. Most others worked, though I
don't think Journal title has ever worked.

But after upgrading to Eprints 3.3.14 only Title works, like Matheiu wrote.

On 24-03-2015 13:25, Mathieu Perron wrote:
> Hi Alen,
>
> Thank you for your reply!  Don't worry I have a test instance for all this
> :)
>
> My MySQL version is 5.0.95 and I did do the databse upgrade after
> installing the new version.  After some bug fixing my instance is working
> fine (except for one or two missing phrases but I'll get to this soon
> enough).  I can deposit new documents, run searches, etc.  But that damn
> auto complete is working for the title but not for the authors.
>
> I have checked the eprint_creators_name table and all the varchar columns
> have "latin1_swedish_ci" as Collation.  Does it have to be utf8?  From
> what I read utf-8 should work with latin1 collation...
>
> Am I understanding this right?
>
> Thanks for clearing that up!
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>



------------------------------

Message: 2
Date: Mon, 11 May 2015 11:37:10 +0100
From: "Simon Jennings" <Simon.Jennings@lshtm.ac.uk>
Subject: [EP-tech]  eprintid reassignment
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Message-ID: <555094660200007E000120C0@smtp-b.lshtm.ac.uk>
Content-Type: text/plain; charset="us-ascii"

Hi everyone,

I was wondering what the possibility might be of reclaiming deleted eprint ids. The eprintid assignment is incremental but due to deletion, and accidentally created records via the new item button, many ids in the sequence can go unused.

Is it possible to recycle these in some way?

Many thanks,

Simon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150511/e8c444ca/attachment-0001.html

------------------------------

Message: 3
Date: Mon, 11 May 2015 11:53:07 +0100
From: Ian Stuart <Ian.Stuart@ed.ac.uk>
Subject: [EP-tech] Re: eprintid reassignment
To: eprints-tech@ecs.soton.ac.uk
Message-ID: <55508A13.8010302@ed.ac.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 11/05/15 11:37, Simon Jennings wrote:
> Hi everyone,
>
> I was wondering what the possibility might be of reclaiming deleted
> eprint ids. The eprintid assignment is incremental but due to deletion,
> and accidentally created records via the new item button, many ids in
> the sequence can go unused.
>
> Is it possible to recycle these in some way?

With trickery, all things are possible on code.

The challenge is that the eprintid also relates to directory locations
for documents... which means that when you search for "the next free
slot", you need to check that the records isn't in use in the database
(remembering that records can be in a users inbox or in the retired
buffer too), and that the directory [tree] is not present.

--

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



------------------------------

_______________________________________________
Eprints-tech mailing list
Eprints-tech@ecs.soton.ac.uk
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech


End of Eprints-tech Digest, Vol 80, Issue 13
********************************************