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

Not correct update Entity in setEntry #67

Closed
gorets opened this issue Jan 31, 2018 · 1 comment · Fixed by #68
Closed

Not correct update Entity in setEntry #67

gorets opened this issue Jan 31, 2018 · 1 comment · Fixed by #68

Comments

@gorets
Copy link

gorets commented Jan 31, 2018

if the Entity exists and you need an update
poedit

PoParser line 449
if ($msgid !== $entry['msgid']) {

$msgid - string
$entry['msgid'] - array

@pherrymason
Copy link
Owner

I see, for some reason internal catalog has the msgid inside an array of one item and therefore condition does not match.
I guess I can do a "hack" for this corner case... But it would be better if you could provide with a minimal catalog.po file that can reproduce this and see if we can fix it before reaching this point.

@pherrymason pherrymason mentioned this issue Feb 2, 2018
Merged
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

Successfully merging a pull request may close this issue.

2 participants