Closed (fixed)
Project:
VBO export
Version:
4.2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2019 at 08:15 UTC
Updated:
23 Feb 2026 at 18:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gugalamaciek commentedPatch for version 3.2
Comment #3
gugalamaciek commentedImprove multilanguage support
Comment #4
graber commentedHi Maciek, good stuff :) can you get some friend to review this as well? I'm terribly busy recently and don't use the module on any of my projects currently :(
Comment #5
graber commentedComment #6
bezig commentedHello i got an error.
An AJAX HTTP error has occurred.
Received HTTP Code: 500
Debug information follows.
Path: /batch?Id=139&op=do_nojs&op=do
Status Text: 500 Service Unavailable (with message)
Response Text: An unexpected error occurred on the site. Please try again later.
Message DomainException: When a #lazy_builder callback is specified, no properties can exist; all properties must be generated by the #lazy_builder callback. You specified the following properties: #label_display. in Drupal\Core\Render\Renderer->doRender() (line 336 of D:\OpenServer\domains\tst\core\lib\Drupal\Core\Render\Renderer.php).
commented out the line, everything worked.
where is the mistake?
Comment #7
bezig commentedImages are not exported
The generated document contains only relative links to images.
Also with export to xls.
Can this be configured somehow?
Comment #8
falc0 commentedPatch for version 4.0.0
Comment #9
graber commentedLooks good but noticed a few things:
vbo_export.configshouldn't be global here, an action can have preliminary configuration per view (or per display), see https://www.drupal.org/docs/8/modules/views-bulk-operations-vbo/configur.... This'll give site builders better flexibility and will not require an extra route.I'd also call the parent method in
ConfirmWordAction:: buildForm()and modify the output.Comment #10
rp7 commentedNoticed an issue in #8, the
vbo-export-content-doc-wrapper.html.twigtemplate was no longer being used (leading to encoding issues for special characters when opening export Word docs on Windows).Comments in #9 still need to be addressed, though.
Comment #11
rp7 commentedAdded config schema definition for the new action plugin.
Comments in #9 still need to be addressed, though.
Comment #12
rp7 commentedApparently a new
word_limitglobal vbo_export configuration property is added as well. Providing schema definition for this as well.Comments in #9 still need to be addressed, though.
Comment #13
rp7 commentedRerolled against 4.x
Comments in #9 still need to be addressed, though.
Comment #14
rp7 commented4.x reroll attempt #2
Comment #15
graber commentedSame review remarks apply as in #9:
Please implement one or both of
buildConfigurationForm,buildPreConfigurationFormin your the class instead of creating global config and adding those 2 form classes separately.Comment #16
falc0 commentedMy attempt to fix rendering nested groups
I skipped comments in #9 for now.
Comment #17
falc0 commentedFixed labels not showing in nested groups.
Comment #18
rp7 commentedFixed deprecation notice: Deprecated function: Creation of dynamic property Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc::$renderer is deprecated in Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc->__construct().
Comment #21
astonvictor commentedHi there,
Prepared a new MR with a plugin to export data as a doc file. For exporting data, it uses phpoffice/phpword package.
Please, check if it works for you.
p.s. I didn't update the requirements hook because the package doesn't have a changelog file from the 1.2.0 version. And there is no sense to use 1.1.0 version because it uses the deprecated
utf8_encode()function.thanks in advance
Comment #23
astonvictor commentedfixed in a new 4.2.x branch
thanks