Ticket #6169 (closed defect: fixed)

Opened 4 years ago

Last modified 1 year ago

Duplicated line in the last section

Reported by: y.yu@open.ac.uk Assigned to: rjollos
Priority: normal Component: SectionEditPlugin
Severity: normal Keywords:
Cc: shai Trac Release: 0.11

Description (Last modified by rjollos)

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

Change History

11/10/09 07:17:34 changed by rjollos

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

11/10/09 12:28:46 changed by anonymous

No I haven't used the patch in #4848

12/20/10 20:10:48 changed 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 =(

12/22/10 02:02:11 changed by rjollos

  • description changed.

02/02/11 22:22:14 changed by rjollos

#7827 closed as a duplicate.

(follow-up: ↓ 9 ) 02/03/11 05:53:56 changed 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?

(in reply to: ↑ 8 ) 02/03/11 05:56:03 changed by rjollos

  • cc set to shai.

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.

02/03/11 05:56:49 changed by shai

Agreed. Thank mate.

01/27/12 06:03:05 changed by rjollos

  • owner changed from cbalan to rjollos.
  • priority changed from highest to normal.
  • status changed from new to assigned.
  • description changed.

01/27/12 06:13:46 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

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

01/27/12 06:19:10 changed by rjollos

  • severity changed from major to normal.

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.


Add/Change #6169 (Duplicated line in the last section)




Change Properties
Action