-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from micromata/Release-8.1-SNAPSHOT
Release 8.1 snapshot Dealing with corrupted JCR repos (doc), json serialization and deserialization refactored. Jackson deserialization errors fixed.
- Loading branch information
Showing
76 changed files
with
1,789 additions
and
1,090 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
package org.projectforge.plugins.datatransfer | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import com.fasterxml.jackson.databind.annotation.JsonSerialize | ||
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.Indexed | ||
import org.projectforge.Constants | ||
import org.projectforge.framework.i18n.TimeAgo | ||
|
@@ -32,6 +33,7 @@ import org.projectforge.framework.jcr.AttachmentsEventType | |
import org.projectforge.framework.persistence.user.entities.PFUserDO | ||
import java.util.* | ||
import jakarta.persistence.* | ||
import org.projectforge.framework.json.IdOnlySerializer | ||
|
||
/** | ||
* @author Kai Reinhard ([email protected]) | ||
|
@@ -84,6 +86,7 @@ open class DataTransferAuditDO { | |
|
||
@get:ManyToOne(fetch = FetchType.LAZY) | ||
@get:JoinColumn(name = "by_user_fk") | ||
@JsonSerialize(using = IdOnlySerializer::class) | ||
open var byUser: PFUserDO? = null | ||
|
||
@get:Column(name = "by_external_user", length = 4000) | ||
|
@@ -109,6 +112,7 @@ open class DataTransferAuditDO { | |
*/ | ||
@get:ManyToOne(fetch = FetchType.LAZY) | ||
@get:JoinColumn(name = "upload_by_user_fk") | ||
@JsonSerialize(using = IdOnlySerializer::class) | ||
open var uploadByUser: PFUserDO? = null | ||
|
||
@get:Column(length = 1000) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
|
||
package org.projectforge.plugins.skillmatrix | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonSerialize | ||
import org.projectforge.common.StringHelper | ||
import org.projectforge.common.anots.PropertyInfo | ||
import org.projectforge.Constants | ||
|
@@ -31,6 +32,7 @@ import org.projectforge.framework.persistence.user.entities.PFUserDO | |
import jakarta.persistence.* | ||
import org.hibernate.search.mapper.pojo.automaticindexing.ReindexOnUpdate | ||
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.* | ||
import org.projectforge.framework.json.IdOnlySerializer | ||
|
||
/** | ||
* @author Kai Reinhard ([email protected]) | ||
|
@@ -77,6 +79,7 @@ open class SkillEntryDO : AbstractBaseDO<Long>() { | |
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW) | ||
@get:ManyToOne(fetch = FetchType.LAZY) | ||
@get:JoinColumn(name = "owner_fk") | ||
@JsonSerialize(using = IdOnlySerializer::class) | ||
open var owner: PFUserDO? = null | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.