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

'Symphony Fatal Database Error: Column 'modification_author_id' cannot be null' #53

Open
jude86-7 opened this issue May 6, 2018 · 1 comment

Comments

@jude86-7
Copy link
Contributor

jude86-7 commented May 6, 2018

Hi,
I am getting the above error when i re-run an xml import to update existing entries on symphony 2.7.3 and extension version 3.0

I did add the following on line 380, which worked, but wanted to check this was the correct fix;

$entry->set('modification_author_id', is_null(Symphony::Engine()->Author()) ? '1' : Symphony::Engine()->Author()->get('id'));

If it is I can submit a pull request when I'm on my correct pc just don't have access to it at the moment.
thanks

@nitriques
Copy link
Member

Yes please do! Thanks @jude86-7 !

jude86-7 added a commit to jude86-7/xmlimporter that referenced this issue May 11, 2018
'Symphony Fatal Database Error: Column 'modification_author_id' cannot
be null' symphonists#53
nitriques pushed a commit that referenced this issue Jun 1, 2018
* modification_author_id cannot be null

'Symphony Fatal Database Error: Column 'modification_author_id' cannot
be null' #53

* author static property, change required
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