Loading...
 

Tracker items Export after filtering fails (either all items or none exported)

Status
Closed
Subject
Tracker items Export after filtering fails (either all items or none exported)
Version
12.x
12.x Regression
15.x
15.x Regression
Category
  • Regression
  • Conflict of two features (each works well independently)
  • Less than 30-minutes fix
Feature
Trackers
Import-Export
Resolution status
Fixed
Submitted by
Xavier de Pedro
Volunteered to solve
rjsmelo
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Tracker items Export after filtering fails (either all items or none exported, depending on how you create your plugin TrackerFilter call). That was known to work in the past (see ), and I recall using this type of feature long ago (years ago, maybe with tiki6???).

It seems as if minor fix was needed to have it export items filtered on the criteria indicated through either PluginTrackerFilter or based on the filtering in the tracker feature interface itself.

http://xavi-9794-5876.show.tikiwiki.org/
u: admin
p: 12345

Fixed

Case 1: TrackerFilter using param "export=y"

This produces a button at the bottom to go to export, in theory, with the pre-selection of item filtered.


Case 2: TrackerFilter using param " export_action='Export it' "

Case 3

You want to do the same from the tracker feature itself: after listing items, you filter bsaed on some criteria, and you click at ecport, you expect to get that filtering applied to the csv to be exported.
The url might look like:
http://xavi-9794-5876.show.tikiwiki.org/tiki-ajax_services.php?controller=tracker&action=export&trackerId=1&status=o&sort_mode=f__asc&filterfield=4&filtervalue%5B1%5D=&filtervalue%5B2%5D=&filtervalue_other=&filtervalue%5B3%5D=5+%28high%29&filtervalue%5B4%5D=topic&filter=Filter

Couldn't we use these values in the arguments of the url to have a pre-selection of items to be exported?


Pending Fixing

Update: Filter based on cases of "Multiple selection" fields do not work: nothing is exported or all is (filtering doesn't seem to be working).

Case 11: TrackerFilter using param "export=y"

This produces a button at the bottom to go to export, in theory, with the pre-selection of item filtered.

Case 12: TrackerFilter using param " export_action='Export it' "

Case 13

You want to do the same from the tracker feature itself:
http://xavi-9794-5876.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1

  • Filter for the "Resources needed" Laser Pointer. 3 items will be shown (out of the 6 max).
  • click at the "Export" button at the bottom. None is exported, just the header line with the variable names, but no record below.


Solution

Can you check 58797 ? it should be solved for all 3 use cases.


Impressive, all fixed. Thanks heaps Ricardo- rjsmelo (and Nelson, I guess?) :-)


Update: some case (multiple seelction fields) do not work for filtering yet. See above in the bug description


Xavier, there was no support for that kind of field (type M) that was the reason it showed:

__tracker field type not processed yet M__

This message means that the field type is not supported (yet)
I've added support for multiple selection fields across all use cases.
Please test r58823

(Xavier, unrelated: when I tried to save with sign and only the user, it didn't added the datetime and didn't show on the interface, may be a bug, please test if that happens to you also) test sign:


Thanks Ricardo, works like a charm. Thanks for providing support for M.
Regarding the signature, you just need to type

{sign user="xavi" datetime="2016-06-08T10:07:23+00:00"}

and Tiki will add your username and timestamp all in one go.

Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug
Please demonstrate your bug on show2.tikiwiki.org
 About show2.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tikiwiki.org.

Version: Create show2.tikiwiki.org instance
Ticket ID
5876
Created
Tuesday 05 April, 2016 09:11:51 GMT-0000
LastModif
Wednesday 08 June, 2016 10:07:23 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools