-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
[Import] Output errors, duplicates csvs directly from the user job table #23292
Merged
monishdeb
merged 6 commits into
civicrm:master
from
eileenmcnaughton:import_output_table
May 5, 2022
Merged
[Import] Output errors, duplicates csvs directly from the user job table #23292
monishdeb
merged 6 commits into
civicrm:master
from
eileenmcnaughton:import_output_table
May 5, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Standard links)
|
f0aa451
to
d3a4f1e
Compare
ede5be3
to
0c49c3d
Compare
0c49c3d
to
6f3846f
Compare
This was referenced Apr 30, 2022
6f3846f
to
33c19f0
Compare
eileenmcnaughton
added a commit
to eileenmcnaughton/civicrm-core
that referenced
this pull request
May 3, 2022
This adds functions from civicrm#23292 to the DataSource class (without them being called as yet) - part of trying to get to the point where fixes are not dependent on each other
test this please |
1 similar comment
test this please |
eileenmcnaughton
added a commit
to eileenmcnaughton/civicrm-core
that referenced
this pull request
May 3, 2022
This adds functions from civicrm#23292 to the DataSource class (without them being called as yet) - part of trying to get to the point where fixes are not dependent on each other
eileenmcnaughton
added a commit
to eileenmcnaughton/civicrm-core
that referenced
this pull request
May 3, 2022
This adds functions from civicrm#23292 to the DataSource class (without them being called as yet) - part of trying to get to the point where fixes are not dependent on each other
eileenmcnaughton
added a commit
to eileenmcnaughton/civicrm-core
that referenced
this pull request
May 3, 2022
This adds functions from civicrm#23292 to the DataSource class (without them being called as yet) - part of trying to get to the point where fixes are not dependent on each other
eileenmcnaughton
added a commit
to eileenmcnaughton/civicrm-core
that referenced
this pull request
May 3, 2022
This adds functions from civicrm#23292 to the DataSource class (without them being called as yet) - part of trying to get to the point where fixes are not dependent on each other
0050f62
to
f1a3155
Compare
It only failed on the known error but test this please cos I'm going for the green tick |
f1a3155
to
d6eaae5
Compare
The datasource stores the table name on the job - we don't need to pass it around. Also - stop cleaning up the temp table at the end - we want it to output results but will add a cleanup routine later
I can't see where these would arise - but definitely not on the preview screen - which only runs basic validation
d6eaae5
to
d3bb0df
Compare
The error link here can be revisited directly as logged in user but would be nice to have an option in UI to revisit the unfinished import. |
@monishdeb thanks! - I totally agree re re-visiting - defintely something I hope to get to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
[REF] [Import] Output errors, duplicates csvs directly from the user job table
Before
During parsing the errors and duplicate-skips are output to a csv file
After
The csvs are generated on demand from the import temp table using a url like
/civicrm/import/outcome?user_job_id=5&status=4&reset=1
Note that this means
Technical Details
Handling of import outcomes was inconsistent - the download mechanism for the rows that were not updating the csv is the next task
Most commits in this PR are also in other open PRs - only the last 1 is new to this PR - requires a menu./rebuild
Comments
I found the summary screen confusing - total rows was total rows less those that were already rejected in the Preview screen - that seemed confusing to me so it now reflects the total number of rows - I think it might still be a little odd until I get everything updating in the table