Uh oh!
There was an error while loading. Please reload this page.
Add lastUpdated property to Form - #1479
Conversation
Chartman123
commented
Feb 2, 2023
@jotoeri could you please point me in the right direction, why my setLastUpdatedTimestamp function in the forms service doesn't work? |
jotoeri
commented
Feb 2, 2023
You need to update the Form Entity to the Db with |
Chartman123
commented
Feb 2, 2023
🤦🏻
Thanks, this was the missing part. |
b1b4486 to
95b339fCompareCodecov 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 |
Chartman123
commented
Feb 2, 2023
@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
5ad91b5Comparejotoeri
commented
Feb 3, 2023
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
d0e2c39CompareChartman123
commented
Feb 4, 2023
@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
f3df198Comparesusnux
commented
Feb 5, 2023
Do you still get those errors? For me it works perfectly when changing question properties like required or shuffle options. |
Chartman123
commented
Feb 5, 2023
susnux
commented
Feb 5, 2023
I think it is used in |
Chartman123
commented
Feb 5, 2023
10045cc to
a896802CompareChartman123
commented
Feb 6, 2023
@susnux Your new ApiControllerTest is killing me... 😆 Could you please help me fix the failing checks here? |
495140c to
c2ef873Comparesusnux
commented
Feb 6, 2023
You need to mock the |
Chartman123
commented
Feb 6, 2023
Thank you! Now I can polish the integration tests and then everything should be fine :) |
4862112 to
965f007CompareUh oh!
There was an error while loading. Please reload this page.
965f007 to
15ff608Compare15ff608 to
65e9fcdCompare
jotoeri
left a comment
There was a problem hiding this comment.
So - now got into this one. Two small comments, maybe also squash a bit, but apart from that, it should be fine by me.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
65e9fcd to
d179439CompareChartman123
commented
Feb 20, 2023
Fixed them and squashed the commits. I think it's ready to go now :) |
jancborchardt
left a comment
There was a problem hiding this comment.
Good stuff, thank you @Chartman123! :) (Can't review the code, so only leaving comment instead of approval.)
susnux
commented
Feb 21, 2023
@Chartman123 I do not know why a clean install work (no forms installed before), it only fails if a partial migration is required. |
Chartman123
commented
Feb 21, 2023
Strange, I copied the code from some older migration... 🙈 |
This fixes#1462
Signed-off-by: Christian Hartmann chris-hartmann@gmx.de