Skip to content

Conversation

@maxceem
Copy link
Contributor

@maxceem maxceem commented Nov 7, 2019

Supporting fixes for Connect App ticket appirio-tech/connect-app#3210

  • only admins should be able to edit completionDate and actualStartDate
  • fix issue: it was validated against startDate instead of actualStartDate so comletionDate couldn’t be earlier than startDate which is not important when there is actualStartDate which could be earlier
  • there was another error even if comletionDate passes the validation: comletionDate.diff is not a function

Project has been indexed in a wrong way for unit test.
Also, we have to wait until the index is refreshed to make tests consistent.
@maxceem maxceem requested a review from vikasrohit November 7, 2019 04:18
@maxceem
Copy link
Contributor Author

maxceem commented Nov 7, 2019

@vikasrohit I've created this HOTFIX for PROD by cherry-picking some commits from DEV.
It works good on DEV.

Copy link

@vikasrohit vikasrohit left a comment

Choose a reason for hiding this comment

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

LGTM

@vikasrohit vikasrohit merged commit d70a183 into master Nov 7, 2019
@eisbilir eisbilir deleted the hotfix/milestone-completion-date branch November 9, 2023 20:02
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.

2 participants