Skip to content

CELTS Labor import not updating new positions #553

@BrianRamsay

Description

@BrianRamsay

It appears that the feature that imports CELTS labor positions from LSF is not working. For example, user ramireza2 had a 2024-2025 position with CELTS.

Image

If I run updateCeltsLaborFromLsf() in production, I can see the data returned by the production LSF instance:

'B00794020': [
    {'jobType': 'Primary', 'laborEnd': '2025-05-04', 'laborStart': '2024-08-20', 'positionTitle': 'Hispanic Outreach Team Member', 'termCode': 202400, 'termName': 'AY 2024-2025', 'wls': '3'}, 
    {'jobType': 'Primary', 'laborEnd': '2025-12-13', 'laborStart': '2025-08-19', 'positionTitle': 'Hispanic Outreach Associate', 'termCode': 202511, 'termName': 'Fall 2025', 'wls': '4'}],

However, the User Profile stays the same, and the new position is not saved.

In order to test this in development, you need to run both LSF and CELTS, and add the ip address of the lsf instance into your celts config. The script app/scripts/import_labor_from_lsf.py will pull the CELTS labor students into CELTS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions