console import:tracker ignores "Import updates" setting
- Status
- Open
- Subject
- console import:tracker ignores "Import updates" setting
- Version
- 18.x
- Category
- Bug
- Feature
- Console / Command Line
Trackers - Resolution status
- New
- Submitted by
- Javier Scantamburlo
- Lastmod by
- Javier Scantamburlo
- Rating
- Description
When importing a CSV from command line:
console.php tracker:import format_number file_name
... tabular format "import updates" checkbox has no effect.As far as I understand structure configuration is not being loaded in TrackerImportCommand.php
I've added the following line and everything seems to work:
Copy to clipboard$schema = new \Tracker\Tabular\Schema($tracker); $schema->loadFormatDescriptor($info['format_descriptor']); $schema->loadFilterDescriptor($info['filter_descriptor']); // Added line $schema->loadConfig($info['config']); $schema->validate();
Please, let me know if there is a better way to solve this issue.Thanks,
Javier.-
- Importance
- 3
- Easy to solve?
- 7
- Priority
- 21
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6577
- Created
- Wednesday 21 February, 2018 19:23:02 UTC
by Javier Scantamburlo - LastModif
- Wednesday 21 February, 2018 19:23:02 UTC