-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add lastUpdated property to Form #1479
Conversation
@jotoeri could you please point me in the right direction, why my setLastUpdatedTimestamp function in the forms service doesn't work? |
You need to update the Form Entity to the Db with |
🤦🏻
Thanks, this was the missing part. |
b1b4486
to
95b339f
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1479 +/- ##
============================================
- Coverage 39.56% 39.47% -0.10%
- Complexity 556 560 +4
============================================
Files 53 54 +1
Lines 2320 2333 +13
============================================
+ Hits 918 921 +3
- Misses 1402 1412 +10 |
@jotoeri The backend stuff should be ready now. However, I'm not sure how to proceed with the frontend, so that a changed form for example will also result in a reordered forms list in the AppNavigation. Shall we split this into a second PR? |
8a28129
to
5ad91b5
Compare
Hmm, to avoid confusion, i think we should shift it up, once updated/edited. That will of course not cover submissions, but will make clear the principle.
And i wouldn't do it separately. Its closely connected. |
e7b4b42
to
d0e2c39
Compare
@jotoeri It's already working for updated form properties. However, I still get some errors when updating question properties and question options. Perhaps you could already have a look at it... I will only be able to get back to work tomorrow in the evening. |
9327503
to
f3df198
Compare
Do you still get those errors? For me it works perfectly when changing question properties like required or shuffle options. |
I think it is used in |
10045cc
to
a896802
Compare
@susnux Your new ApiControllerTest is killing me... 😆 Could you please help me fix the failing checks here? |
495140c
to
c2ef873
Compare
You need to mock the |
Thank you! Now I can polish the integration tests and then everything should be fine :) |
4862112
to
965f007
Compare
965f007
to
15ff608
Compare
15ff608
to
65e9fcd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So - now got into this one. Two small comments, maybe also squash a bit, but apart from that, it should be fine by me.
Signed-off-by: Christian Hartmann <[email protected]>
65e9fcd
to
d179439
Compare
Fixed them and squashed the commits. I think it's ready to go now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff, thank you @Chartman123! :) (Can't review the code, so only leaving comment instead of approval.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@Chartman123
I do not know why a clean install work (no forms installed before), it only fails if a partial migration is required. |
Strange, I copied the code from some older migration... 🙈 |
This fixes #1462
Signed-off-by: Christian Hartmann [email protected]