Data Import never starts due to HRMS bug. (HRMS Messing with frappe core)

When you click on start import on the frontend, nothing happens

The import remains pending indefinitely and no data is ever imported

Context information (for bug reports)

Output of bench version

$ bench --version   
5.23.0

Steps to reproduce the issue

  • Install Frappe, ERPNext and then HRMS
  1. On the frontend, go to Data Import List
  2. Click Add new Data Import
  3. Fill out all the necessary details, and follow all the steps for Data Import
  4. Click Start Import

Observed result

No error, no output, and no import starts

Expected result

No error, no output, and no import starts

No error output whatsoever

Additional information

OS version / distribution (Ubuntu noble)

Frappe install method:
METHOD 1: Manual bench script installation
METHOD 2: frappe_docker

This problem arises once the HRMS app/module is installed. And then, absolutely nothing can be imported.

Even though it seems I might never get a response on this critical bug, I will not close it, just in case someones decides to make a fix.

So, the data that I had been wanting to import is the list of employees in a certain company that we are working with.
Employee doctype doesn’t belong to HRMS. It belongs to the Setup module, and thus it allowed me the following:

There are two methods of installation:

Docker
Manual bench script setup.

I had been trying both installations this whole time, and tested imports. Both had the same issue.
So this morning is when I tried just installing Frappe/ERPNext and excluding HRMS since the data that I wanted don’t belong to HRMS. And, boom… imports worked with no issue, no matter which document I wanted.
Then I installed HRMS to also import the attendance that I had in my other Frappe/ERPNext instance. Tried importing… boom, nothing. Tried importing every other doctypes that are not connected to HRMS, and still, nothing. The import never starts. It seems to remain pending forever.
Then I realized HRMS was the problem. Once you install it, you can no longer import anything.

At this point, let me make a bit of a speculation:
HRMS is probably messing with the way frappe.core handles / manages imports. And if that’s true, this means that the testing that is being done before version release, is not enough. And HRMS is not fit for production use.

1 Like

Any update on this one? We are also encountering it.

1 Like

Unfortunately not. The frappe developers are overlooking this one, even when it’s a huge bug.
I tried raising issue on frappe GitHub, but I was ignored.

2 Likes