Opened 8 years ago
Closed 8 years ago
#2061 closed enhancement (fixed)
Add API for setting registration date on items
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.11 |
Component: | core | Version: | |
Keywords: | Cc: |
Description (last modified by )
The registration date is currently set automatically by the core when new items are created. This makes it impossible to copy data between servers while preserving the registration date from the original server.
We should add an API method to the Registered
interface that can set the registration date. It should only be possible to set on newly created items before they are saved to the database (the registration date column is mapped with update=false in Hibernate).
The batch importers should be able to import the registration date from data files. See #2062.
Change History (2)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [7308]) Fixes #2061: Add API for setting registration date on items
Added
Registered.setEntryDate()
method and implemented in all subclasses.