Ticket #896 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

copy-from-journal script broken

Reported by: garycmartin Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: 0.86
Component: sugar-datastore Version: 0.84.x
Severity: Minor Keywords:
Cc: sascha_silbe, erikos Distribution/OS: Unspecified
Bug Status: New

Description

When using copy-from-journal, it currently matches every Journal entry title, and then defaults to saving out the first entry (the newest Journal entry).

copy-from-journal -t "My cool painting of a cat" cat_painting
{'title': 'My cool painting of a cat'}
WARNING: 83 objects found; retrieving most recent.

Change History

Changed 4 years ago by garycmartin

  • cc sascha_silbe, erikos added
  • status_field changed from Unconfirmed to New
  • severity changed from Unspecified to Minor
  • version changed from Git as of bugdate to 0.84.x
  • milestone changed from Unspecified by Release Team to 0.86

Changed 4 years ago by erikos

  • status changed from new to closed
  • resolution set to fixed

 http://git.sugarlabs.org/projects/sugar-datastore/repos/mainline/commits/4a8fc771fd47bd6f2f0182cbbe50c8fc5bcaa902

We only use the full query in the new "less is more" DS. This is
the indexed text including title and the description.

copy-from-journal -q <string>

We will not backport to 0.84 - as one can use the -q option in the current 0.84 code fine.

Note: See TracTickets for help on using tickets.