New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@persistence doesn't retain tags and links (uA's) #526
Comments
Tried to attach a .leo and .md file, but got an error about file type not supported. |
Links and I assume tags rely on |
On Thu, Jul 13, 2017 at 8:21 AM, Rob Keeney ***@***.***> wrote:
1. myLeoSettings.leo sets the following to override defaults:
@Bool <https://github.com/bool> enable-persistence = True
@Bool <https://github.com/bool> create-at-persistence-nodes-automatically
= True
2. Create @auto-md node.
- Create several nodes.
- Tag nodes using nodetags plugin.
- Create links using backlink plugin.
3. Save and close the xxx.leo file.
- @persistence <https://github.com/persistence> node is created if
it was not there already.
4. Re-open the xxx.leo file. *All of the tags and links are missing.*
The attached example files should illustrate behavior. Discussion of this
on the forum here
<https://groups.google.com/d/msg/leo-editor/TzDyhUDCNUI/pyMAsSuDAgAJ>.
Thanks for this report. I'll put it on the list and mark it "First".
Edward
|
This looks like a fairly simple botch that has been around for months, if not years. I expect to fix this later today. It probably affects all kinds of |
f302ae8 in the "persist" branch looks like it fixes this issue. However, more testing is needed. I'll leave this item open and will delay merging into master for a day at least. |
Not sure how to test this. I don't understand GitHub well enough (using GH Desktop for Windows) to know how to get this on my machine to try it. Also, I'll be traveling for the next several weeks, so testing will be intermittent at best. |
On Fri, Jul 14, 2017 at 10:57 AM, Rob Keeney <notifications@github.com> wrote:
>
Not sure how to test this. I don't understand GitHub well enough (using GH
Desktop for Windows) to know how to get this on my machine to try it.
git fetch
git checkout persist
git pull
Now you should have the latest version. Test as usual.
Also, I'll be traveling for the next several weeks, so testing will be
intermittent at best.
That will be no problem. We'll have lots of testers after merging persist
into master.
Edward
|
First test of this branch looks good so far. All tags appear to be retained as expected. |
On Fri, Jul 14, 2017 at 4:03 PM, Rob Keeney ***@***.***> wrote:
First test of this branch looks good so far. All tags appear to be
retained as expected.
Oh good. Thanks for the confirmation.
This was a strange one. It appears that @persistence has been broken a
long time, perhaps even before the changeover to git.
Edward
|
Hmm, wondering if I'm the only one who uses it. |
On Fri, Jul 14, 2017 at 5:25 PM, Rob Keeney ***@***.***> wrote:
Hmm, wondering if I'm the only one who uses it.
Heh. More might start using it now :-)
Edward
|
El 14/07/2017 a las 19:25, Rob Keeney escribió:
Hmm, wondering if I'm the only one who uses it.
I tried to use tags in nodes under @auto trees some months ago but
discovered that they did not persist, so I thought it was not possible.
I didn't know about @persistence at that time... and I didn't ask!
Thanks for reporting this so we can now get the benefits!
Xavier
|
@bool enable-persistence = True
@bool create-at-persistence-nodes-automatically = True
@auto-md
node.@persistence node
is created if it was not there already.The attached example files should illustrate behavior. Discussion of this on the forum here.
Environment:
Leo 5.5, build 20170712062357, Wed Jul 12 06:23:57 CDT 2017
Git repo info: branch = master, commit = bec5e26
Python 3.4.3, PyQt version 5.4.1
Windows 8 AMD64 (build 6.2.9200)
isPython3: True
caching enabled
The text was updated successfully, but these errors were encountered: