Skip to content

Comments

SYNCT-336 : Sync2 should dispaly a right message on failure or success#147

Open
mozzy11 wants to merge 1 commit intoopenmrs:masterfrom
mozzy11:SYNCT-336
Open

SYNCT-336 : Sync2 should dispaly a right message on failure or success#147
mozzy11 wants to merge 1 commit intoopenmrs:masterfrom
mozzy11:SYNCT-336

Conversation

@mozzy11
Copy link
Member

@mozzy11 mozzy11 commented Aug 12, 2019

Ticket: https://issues.openmrs.org/browse/SYNCT-336
Sync2 should dispaly a right message on failure or success

ParentFeedReader parentFeedReader = ContextUtils.getParentFeedReader();
parentFeedReader.pullAndProcessAllFeeds();
Integer lastAuditMsgId = syncAuditService.getCountOfMessages().intValue();
Boolean succes = syncAuditService.getMessageById(lastAuditMsgId).getSuccess();
Copy link
Member

Choose a reason for hiding this comment

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

I don't know, but did you intend to use Boolean success rather than Boolean succes

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks @ODORA0 , let me correct the naming

@ibacher ibacher closed this Nov 9, 2020
@ibacher ibacher reopened this Nov 9, 2020
@ibacher
Copy link
Member

ibacher commented Nov 9, 2020

@mozzy11 Any interest in seeing this through?

@gracepotma
Copy link

@mozzy11 are you interested in seeing this through or should we close it?

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.

4 participants