Skip to content
New issue

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

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

Already on GitHub? # to your account

Publish form using Jackson fasterxml library #3115

Closed
stellanl opened this issue Jun 11, 2019 · 7 comments
Closed

Publish form using Jackson fasterxml library #3115

stellanl opened this issue Jun 11, 2019 · 7 comments
Assignees
Milestone

Comments

@stellanl
Copy link
Contributor

Since #2285 added classes for parsing form XML, with a little extra work we can do the publishing using the same infrastructure, improving the likelihood they are compatible.

@stellanl stellanl self-assigned this Jun 11, 2019
@stellanl
Copy link
Contributor Author

stellanl commented Aug 5, 2019

Basic pattern is to add a constructor for most of the XML-classes (those that correspond to domain classes) that takes a domain object parameter.

stellanl added a commit that referenced this issue Aug 7, 2019
…for that. Start on XML generation. Add a test class for that.
@stellanl
Copy link
Contributor Author

It is a bit tricky to test this end-to-end as we need to create datastore Key objects.

@stellanl
Copy link
Contributor Author

stellanl commented Oct 18, 2019

It just occurred to me the since the published form will now be the base for the reports, we need to invalidate the cached reports for the form.

@muloem
Copy link
Member

muloem commented Oct 18, 2019

Which cached reports are you referring to here? Survey forms or Comprehensive reports?

@stellanl
Copy link
Contributor Author

stellanl commented Oct 18, 2019

Comprehensive and data cleaning.
The survey forms export is another thing that we may want to be based on the published form, but that should be another issue.

stellanl added a commit that referenced this issue Oct 18, 2019
stellanl added a commit that referenced this issue Oct 30, 2019
stellanl added a commit that referenced this issue Nov 5, 2019
stellanl added a commit that referenced this issue Nov 6, 2019
stellanl added a commit that referenced this issue Nov 6, 2019
stellanl added a commit that referenced this issue Nov 7, 2019
Issue/3115 publish form using jackson (Connect #3115)
@janagombitova
Copy link
Contributor

Is this issue done done and can it be closed?

muloem added a commit that referenced this issue Nov 12, 2019
* We remove code that is querying the `QuestionHelpMedia` entity that is no longer used.
* Rename the function to match domain names (Form)
* Remove unused import
muloem added a commit that referenced this issue Nov 12, 2019
[#3115] Refactor form loading code to improve performance
@muloem
Copy link
Member

muloem commented Nov 14, 2019

Tested several variations of publishing and large surveys. Good to go. 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants