Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#896 closed defect (fixed)

copy-from-journal script broken

Reported by: garycmartin Owned by: tomeu
Priority: Unspecified by Maintainer Milestone:
Component: Sugar 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 (4)

comment:1 Changed 11 years ago by garycmartin

  • Bug Status changed from Unconfirmed to New
  • Cc sascha_silbe erikos added
  • Milestone changed from Unspecified by Release Team to 0.86
  • Severity changed from Unspecified to Minor
  • Version changed from Git as of bugdate to 0.84.x

comment:2 Changed 11 years ago by erikos

  • Resolution set to fixed
  • Status changed from new to closed

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.

comment:3 Changed 7 years ago by dnarvaez

  • Component changed from sugar-datastore to Sugar

comment:4 Changed 7 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.