Skip to content
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

Files not migrating #1919

Open
2 tasks
neggink opened this issue Sep 9, 2024 · 2 comments
Open
2 tasks

Files not migrating #1919

neggink opened this issue Sep 9, 2024 · 2 comments
Labels

Comments

@neggink
Copy link

neggink commented Sep 9, 2024

Expected behavior

All data files migrated for the dataset: https://pdc-describe-prod.princeton.edu/describe/works/469

Actual behavior

Only 1 (the readme) of the 3 files migrated.

The files are in both DataSpace and Globus. The history log in PDC shows that the files started to migrate but then are deleted by "Unknown user outside the system".
Screenshot 2024-09-09 at 4 17 25 PM

Steps to replicate

Impact of this bug

Cannot finish migrating this dataset

Implementation notes, if any

Acceptance Criteria

  • Investigate the logs to see if there is something simple going on
  • Copy the files from Globus to PDC describe
@neggink neggink added the bug label Sep 9, 2024
@carolyncole
Copy link
Member

Hey team! Please add your planning poker estimate with Zenhub @bess @hectorcorrea @JaymeeH @leefaisonr

@jrgriffiniii jrgriffiniii self-assigned this Sep 16, 2024
@jrgriffiniii
Copy link
Contributor

The three areas where I suspect this might be originating are:

  • app/models/work.rb:278: WorkActivity.add_work_activity(id, changes.to_json, current_user_id, activity_type: WorkActivity::FILE_CHANGES)
  • app/models/work.rb:482: WorkActivity.add_work_activity(id, work_changes.to_json, user_id, activity_type: WorkActivity::FILE_CHANGES)
  • app/models/work_state_transition_notification.rb:32: WorkActivity.add_work_activity(id, notification, current_user_id, activity_type: WorkActivity::NOTIFICATION)

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

No branches or pull requests

3 participants