Modify

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#6169 closed defect (fixed)

Duplicated line in the last section

Reported by: Yijun Yu Owned by: Ryan J Ollos
Priority: normal Component: SectionEditPlugin
Severity: normal Keywords:
Cc: shai Trac Release: 0.11

Description (last modified by Ryan J Ollos)

when editing the last section, ending with a macro such as [[TicketQuery]] or a code block such as {{{ ... }}}, a duplication of the committed line appears.

Attachments (0)

Change History (11)

comment:1 Changed 15 years ago by Ryan J Ollos

I have noticed this as well, but I thought it might be due to the patch in #4848. Have you installed that patch?

comment:2 Changed 15 years ago by anonymous

No I haven't used the patch in #4848

comment:3 Changed 14 years ago by pololita

I had the same problem. I installed the plugin today, without adding the patch in #4848. However, lines of code added by the patch are in the file I installed web_ui.py. I commented those lines, I installed it again, and the problem disappeared. Although .. I missed the preview section instead of the whole page =(

comment:4 Changed 14 years ago by Ryan J Ollos

Description: modified (diff)

comment:5 Changed 14 years ago by Ryan J Ollos

#7827 closed as a duplicate.

comment:8 Changed 14 years ago by shai

@rjollos can you remove my email from this ticket? I didn't realize that having my CC would show my email to everyone. How does one get notifications on this ticket without disclosing his email?

comment:9 in reply to:  8 Changed 14 years ago by Ryan J Ollos

Cc: shai added; anonymous removed

Replying to shai:

@rjollos can you remove my email from this ticket? I didn't realize that having my CC would show my email to everyone. How does one get notifications on this ticket without disclosing his email?

Done. Just cc your t-h.o username, as I did here.

comment:10 Changed 14 years ago by shai

Agreed. Thank mate.

comment:11 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Catalin BALAN to Ryan J Ollos
Priority: highestnormal
Status: newassigned

comment:10 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [11203]) Fixes #6169: (0.2.5) FIX: If the last section was being edited, the last line would be duplicated.

comment:11 Changed 13 years ago by Ryan J Ollos

Severity: majornormal

The problem didn't seem to have anything to do with the patch in #4848 or the markup of the last line. What I saw is that when the for loop ran to completion, the assignment post = page_list[i:] would result in assigning the last line to post, even though it had already been assigned to target.

Please test out the latest 0.12 branch and report back if you can. The 0.11 branch will be merged into 0.12 soon.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.