Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/orgs
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/com/epam/ta/reportportal/entity/user/User.java
  • Loading branch information
grabsefx committed Oct 22, 2024
2 parents 082d205 + ce13df3 commit cdc86a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public ReportPortalUserBuilder withOrganizationDetails(Map<String, OrganizationD
}

public ReportPortalUser fromUser(com.epam.ta.reportportal.entity.user.User user) {
this.active = user.isActive();
this.active = user.getActive();
this.username = user.getLogin();
this.email = user.getPassword();
this.userId = user.getId();
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/epam/ta/reportportal/entity/user/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hibernate.annotations.UpdateTimestamp;
Expand All @@ -51,6 +51,7 @@
@Entity
@TypeDef(name = "meta", typeClass = Metadata.class)
@Table(name = "users", schema = "public")
@DynamicInsert
public class User implements Serializable {

private static final long serialVersionUID = 923392981;
Expand All @@ -67,7 +68,7 @@ public class User implements Serializable {
private String externalId;

@Column(name = "active")
private boolean active;
private Boolean active;

@Column(name = "login")
private String login;
Expand Down

0 comments on commit cdc86a3

Please sign in to comment.