aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md8
-rw-r--r--rust/src/entity_crud.rs1
2 files changed, 8 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 183a7304..3260e8b5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,12 @@ See also:
## [Unreleased]
+### Fixed
+
+- `edit_extra` on individual entity create was not being written to database
+
+### Added
+
- added `retraction` as an allowable `release_type`, for a publication. When
used, the `release_type` should also be `retraction`.
@@ -43,7 +49,7 @@ See also:
## [0.2.1] - 2019-04-09
No API or SQL schema changes in this release. Macaroon generation and
-verification way broken; all non-CLI-generated tokens will need to be
+verification was broken; all non-CLI-generated tokens will need to be
regenerated (eg, log-out, log-in).
### Fixed
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index b72ccd37..dc8a3e82 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -346,6 +346,7 @@ macro_rules! generic_db_create {
$edit_table::editgroup_id.eq(edit_context.editgroup_id.to_uuid()),
$edit_table::rev_id.eq(&rev_id),
$edit_table::ident_id.eq(&ident),
+ $edit_table::extra_json.eq(self.edit_extra.clone()),
))
.get_result(conn)?;
Ok(edit)