-
Notifications
You must be signed in to change notification settings - Fork 29
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
EZP-29846: ezxmltext -> ricktext conversion: Conversion tool skips some ezxmltext rows #88
Conversation
lib/FieldType/XmlText/Persistence/Legacy/ContentModelGateway.php
Outdated
Show resolved
Hide resolved
…kips some ezxmltext rows
@@ -92,18 +92,26 @@ public function getContentTypeFieldTypeUpdateQuery($fromFieldTypeIdentifier, $to | |||
return $updateQuery; | |||
} | |||
|
|||
public function getRowCountOfContentObjectAttributes($datatypeString, $contentId) | |||
/** | |||
* @param string|array $datatypes One datatype may be provided as string. Multiple datatypes areaccepted as array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nitpick: areaccepted
-> are accepted
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Nitpick would be that it's called field type and not dataType in platform, but :)
Should this target 1.7? |
…kips some ezxmltext rows
FYI : fixed in ee587fe |
This one fixes EZP-29846, also reported here : https://github.com/ezsystems/ezplatform-xmltext-fieldtype/issues/60
So the problem was that the different rows was distributed to child processes using
select * from ezcontentobject_attribute where data_type_string='ezxmltext' limit $limit, $offset
, which ended badly as data_type_string values where changed from 'ezxmltext' to 'ezrichtext' during conversion.This PR has the quick fix for it. A better quicker solution would be to get ridd of the slower
$offset
approach all together