Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11618 closed defect (fixed)

Adding a TicketQuery in the description of a report mess up with edithours.js

Reported by: konubinixweb@… Owned by: konubinixweb@…
Priority: normal Component: EstimationToolsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

When putting a TicketQuery report in the description of a report. The first ticket in the report is associated to the first estimatedhours field found, that is the one of the first row of the real report.

The next ticket is associated to the next row and so on.

Let's say I have in the description of the report

Ticket	Summary	Type	Component	Milestone	Keywords
#333	Some Summary	 Defect	 Some component	Some milestone

And in the real report:

Ticket	Summary	Component	Milestone	Owner	Type	Resolution	Remaining Hours
#444	Some Summary	 Defect	 Some component	Some milestone 		 some owner	 Defect		 8

Then if I click on the 8 to change the value of the estimatedhours (thanks to edithours.js), the estimatedhours of 333 is modified, not the one of 444.

I added to the ticket a patch that I hope fixes the problem.

Attachments (2)

Change History (9)

comment:1 Changed 10 years ago by Ryan J Ollos

Description: modified (diff)
Summary: Adding a !TicketQuery in the description of a report mess up with edithours.jsAdding a TicketQuery in the description of a report mess up with edithours.js

comment:2 Changed 10 years ago by anonymous

Description: modified (diff)

Fixed typos

comment:3 Changed 10 years ago by anonymous

I realize the patch was broken, 0001-Make-sure-the-estimation-cell-is-really-the-one-asso.2.patch​ works (I tested it).

I forked the plugin in github. You may find it in https://github.com/Konubinix/estimationtoolsplugin

The tag 0.4.8-custom is the one you are interested in.

comment:4 Changed 10 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Joachim Hoessler to Ryan J Ollos
Status: newaccepted

comment:5 Changed 10 years ago by Ryan J Ollos

In 13741:

0.4.7: Fixed issue with TicketQuery macro in report description. Refs #11618.

Patch by konubinixweb@….

comment:6 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Thank you for contributing the patch. If you find any other issues, please continue to report them.

comment:7 Changed 10 years ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to konubinixweb@…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain konubinixweb@….
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.