Modify

Opened 11 years ago

Last modified 8 years ago

#11610 new defect

WikiExtrasPlugin breaks SectionEditPlugin when boxes contain headings

Reported by: lyon.jeffrey@… Owned by:
Priority: normal Component: SectionEditPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Example wiki page that demonstrates behavior:

{{{#!newsbox 

= A heading =

bla bla bla

}}}
  
= Another Heading =

bla bla bla

== Subheading ==

bla bla bla

This produces the wiki page:

Clicking on the [Edit] region next to the Another Heading (the first section in the main page) incorrectly opens the section in the newsbox instead as shown below.

Also, there is no [Edit] region provided beside the A heading field in the newsbox.

Attachments (2)

wiki.png (8.0 KB) - added by anonymous 11 years ago.
edit.png (21.1 KB) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by anonymous

Attachment: wiki.png added

Changed 11 years ago by anonymous

Attachment: edit.png added

comment:1 Changed 10 years ago by anonymous

This is especially annoying if one also uses ShellExampleMacro a lot where you have no influence on the contents.

comment:2 Changed 9 years ago by anonymous

The [Edit] link is also missing on the right side sections when you split the page vertically and wrong section appears in Edit box when yo click on some Edit link on the left, e.g.:

{{{#!div style="float: right; margin: 0 1em; width:50%"
== Tasks ==
=== Interface - general ===
[[TicketQuery(format=table,col=status|summary|estimatedhours|totalhours|owner,keywords~=Interface,order=priority)]]
=== Interface - outbound ===
[[TicketQuery(format=table,col=status|summary|estimatedhours|totalhours|owner,keywords~=Outbound,order=priority)]]
}}}

= Outbound interface =

[[PageOutline(2-3)]]

"Interface" is a software component etc. etc.:
  1. Actions. When something, that should trigger a message, happens, an action is stored.
  2. A batch processes is periodically checking for new actions and creates messages based on them.

== General notes ==

  * The development takes place in ... Subversion branch. 
  * The business layer is implemented in ... project 
  * The console application that runs the outbound processing is implemented in ... project
  * Unit tests are in ... project  

Clicking the link near General notes will open the === Interface - general === for editing.

comment:3 Changed 8 years ago by Ryan J Ollos

Owner: Catalin BALAN deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.