Home Recent
Request an Invitation Sign in
Ticket Page

documenting, high, Add +difficulty , John Abbe add/edit

 

Issue

Need a way to reference current card and it's parts in inclusions,

also, these bugs are related:

_self|view:name breaks multi-edit. It offers you to edit the named (formatted) card, which of course gives permission denied when you save. Example below.

base:parent (the old syntax for _left) breaks badly if used on a simple card. This should be fixed, and simple cards should be handled at least somewhat elegantly when implementing _left and _right (maybe replace "Add " with some light red text describing the problem, i.e. "_left [or _right] has been used, but is not a plus card."). No example, because it busts Recent Changes too, but if you have a card foo including +bar|base:parent then you get this error:

[Full Trace and Session Dump open]

NoMethodError in Card#show

Showing card/_view.rhtml where line #24 raised: You have a nil object when you didn't ...



Page
_self / _whole = the card the inclusion is on (this is implemented - we need to validate for no infinite recursions if view:content or view:open)
_left = the left part of the card the inclusions is on (what happens if it's a solo card?)
_right = the right part of the card the inclusions is on (ditto)

base: is now deprecated.

If _left or _right occur on simple cards, each of those is treated like _self


Tags:


Page
_self|view:name breaking multi-edit (look under "Tickets relevant to"):

If you make a right name form that's a Search card (using _self to refer to an assumed including card), then ... Tickets relevant to :



Page

are there still bugs here?  I know there is a bug that if you specify an invalid view it can break the whole page. maybe should be a separate ticket for that one?



 

User stories