Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
Prototype issue with new notes (Read 2282 times)
DanD
Full Member
*
Offline



Posts: 9

Prototype issue with new notes
Jun 24th, 2014, 2:16pm
 
Hi, forgive me if I'm missing something obvious. I'm finding that when I add a prototype for a new note, all the notes with the same prototype appear as children of the new note. That is, they seem to be duplicated and added under the new note. I can't seem to find the answer in any support documentation.

Thanks in advance for your help!

Dan
PS I love the new version, particularly the look.
Back to top
 
 
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: Prototype issue with new notes
Reply #1 - Jun 24th, 2014, 3:01pm
 
What $Rule do you have set for the prototype? I've not seen this. Though it's not quite as you describe, you might also have given the prototype some children and $PrototypeBequeathsChildren might be set to true (the v6 default).
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
DanD
Full Member
*
Offline



Posts: 9

Re: Prototype issue with new notes
Reply #2 - Jun 24th, 2014, 3:27pm
 
Thanks Mark. The prototype is fairly basic with $DueDate, $EndDate, and a user defined $Resolved which is set to "False." There is no $Rule set, which is to say that I haven't added $Rule as an attribute. Also the $PrototypeBequeathsChildren is not set.

Again, it must be something fairly basic that I'm missing here.

Dan
Back to top
 
 
  IP Logged
Mark Bernstein
YaBB Administrator
*
Offline

designer of
Tinderbox

Posts: 2871
Eastgate Systems, Inc.
Re: Prototype issue with new notes
Reply #3 - Jun 24th, 2014, 5:50pm
 
It sounds like you're being confused by $PrototypeBequeathesChildren, which is normally true. If true, then when you adopt a prototype you receive clones of its children as your own children.  

For example, suppose a prototype BookReview has children Bibliographic Notes, Reading Notes, and Contract.  Your editor calls and gives you a new assignment. You create a note, make it a BookReview, and you get child notes set up automatically.

Also, keep in mind that prototype inheritance has nothing to do with the outline structure; a note's prototype is seldom its parent.
Back to top
 
 
WWW   IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: Prototype issue with new notes
Reply #4 - Jun 24th, 2014, 5:55pm
 
The bit confusing me, if I read the original post correctly is that if Notes A, B and C use prototype X, and note D is then given the same prototype, then D receives copies ((aliases?) of A B and C as children. I can't see any way for that to occur without some action code somewhere in the loop.

It is the case that if "...$PrototypeBequeathsChildren is not setů" then it is true and any children of the prototype itself are inherited, though that doesn't match the original description as written.
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
DanD
Full Member
*
Offline



Posts: 9

Re: Prototype issue with new notes
Reply #5 - Jun 25th, 2014, 10:02am
 
Thanks Mark! It was the $Prototypebequeathschildren attribute. I've used TBx a lot, although for very basic things, and it hadn't occurred to me that attributes that I hadn't chosen for my prototype could still govern the behaviour of the prototype (if that makes sense). At any rate, I've set the above attribute to false, and this works.

One other thing. I did in fact make the prototype the parent for all the notes that use it. That is, on a project, I want to track participants and so I set a prototype for them and have individual participant notes underneath, set to that prototype. Then I do the same for tasks. I guess the beauty of a program like this is that everyone approaches it with their own logic (or lack thereof).

Thanks again!
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print