Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAK-46877 conversations Fix some issues with statistics reporting #13204

Merged
merged 9 commits into from
Jan 23, 2025

Conversation

adrianfish
Copy link
Contributor

postBean.topic = topicId;
return entityModelForPostBean(conversationsService.savePost(postBean, true));
} catch (Exception e) {
e.printStackTrace();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace with a log message

@@ -116,7 +116,7 @@ export class SakaiTopic extends reactionsAndUpvotingMixin(SakaiElement) {
this.topic.posts = posts;

// We've clicked on a topic and it has no posts. Ergo, it has been "viewed".
if (!this.topic.posts.length) this.topic.viewed = true;
//if (!this.topic?.posts?.length) this.topic.viewed = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comment

adrianfish and others added 8 commits January 22, 2025 15:48
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
@adrianfish adrianfish merged commit 910092e into sakaiproject:master Jan 23, 2025
5 checks passed
@adrianfish adrianfish deleted the SAK-46877 branch January 23, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants