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

Error uploading a Media file #1

Closed
Falteri opened this issue Nov 4, 2018 · 2 comments
Closed

Error uploading a Media file #1

Falteri opened this issue Nov 4, 2018 · 2 comments

Comments

@Falteri
Copy link

Falteri commented Nov 4, 2018

Whith Omeka 1.2.0 and AltText module I get this error while uploading an item media file:

A new entity was found through the relationship 'AltText\Entity\AltText#media' that was not configured to cascade persist operations for entity: Omeka\Entity\Media@000000003c262f180000000058caf073. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @manytoone(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Omeka\Entity\Media#__toString()' to get a clue.

@zerocrates
Copy link
Owner

Hmmmm, that... shouldn't happen.

I think this error is basically masking an issue with the media upload you did (you only get this error when you've created a record and then it ultimately doesn't get saved), but... the module already contains code that should prevent this error from happening.

Can you reproduce the error? Does it happen with all media or just a particular file, etc.?

@zerocrates
Copy link
Owner

This should now be resolved with version 1.0.2 of the AltText module.

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

No branches or pull requests

2 participants