# CSV imports fail - stalling In Progress, Runtime Less than 1 second

**URL:** <https://forum.mautic.org/t/csv-imports-fail-stalling-in-progress-runtime-less-than-1-second/25199>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 27, 2022, 4:11pm UTC](https://forum.mautic.org/t/csv-imports-fail-stalling-in-progress-runtime-less-than-1-second/25199 "2022-08-27T16:11:53Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![modifiedcontent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/modifiedcontent/32/511_2.png) [@modifiedcontent](https://forum.mautic.org/u/modifiedcontent)\
**Post date:** [September 10, 2022, 1:42pm UTC](https://forum.mautic.org/t/csv-imports-fail-stalling-in-progress-runtime-less-than-1-second/25199/7 "2022-09-10T13:42:09Z")

</div>

Back to this thread after a [fruitless tangent here](https://forum.mautic.org/t/errors-after-running-schema-update-foreign-key-constraint/25286/10), trying to fix what I thought might be the core foreign key problem…

[This still looks most promising for next things to try](https://github.com/mautic/mautic/issues/9129#issuecomment-707708797), with [additional clue here](https://github.com/mautic/mautic/issues/9129#issuecomment-812061248) and [this here](https://github.com/mautic/mautic/issues/9129#issuecomment-695751262). However this solution [failed here](https://github.com/mautic/mautic/issues/9129#issuecomment-812566478) and here [explained why it fails](https://github.com/mautic/mautic/issues/9129#issuecomment-1044958793).

Were fixes implemented in latest updates? I’ll try to update to 4.4.2 to see if that fixes the csv import issue.

**Next day:**

Starting the 4.4.2 upgrade process I found the suggestion to run `php bin/console doctrine:schema:validate`. This gives me the following message:

## `Mapping

[FAIL] The entity-class Mautic\DynamicContentBundle\Entity\DynamicContentLeadData mapping is invalid:

- The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which is not defined as association.
- The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which does not exist.

## Database

[ERROR] The database schema is not in sync with the current mapping file.  
`

This was [raised as an issue here](https://github.com/mautic/mautic/issues/10864) and is apparently [also connected with the foreign key issue](https://github.com/mautic/mautic/issues/10865) from my [fruitless tangent here](https://forum.mautic.org/t/errors-after-running-schema-update-foreign-key-constraint/25286/10). What is the current status of this @escopecz @aerendir @DonGilbert @silavapi ?

I don’t see a solution in that thread, but it has been closed as ‘stale’ - I’ll start googling and researching ‘unidirectional vs bidirectional association’ now, but am unlikely to come up with a solution for this on my own.

[There is another thread on this without solution here.](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131/3)

---

_[View the full topic](https://forum.mautic.org/t/csv-imports-fail-stalling-in-progress-runtime-less-than-1-second/25199)._
