Project

General

Profile

Bug #338

Clicking on the edit icon of an alias doesn't open the edit page of the selected alias.

Added by Jocelyn Le Sage over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
02/06/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

If you don't add your aliases in alphabetical order, then the links associated to edit icons don't map to the right alias.

It looks like the ID of an alias follow the order in which aliases have been added, but IDs used in links depends on the alphabetical order of aliases.

Problem seen on the following build:

2.0-BETA1
built on Sat Feb 6 03:25:38 EST 2010

Steps to reproduce:

- Add an alias named "XYZ".
- Then add an alias named "ABC".
- If you click on the edit icon for the alias "ABC": You are moved to the edit page of the alias "XYZ".
- If you click on the edit icon for the alias "XYZ": You are moved to the edit page of the alias "ABC".

Associated revisions

Revision fef1c556 (diff)
Added by Pierre POMES over 9 years ago

Remove msort call for aliases sorting, aliases are sorted by aliases_sort() function. Ticket #338

Revision 974cbfe0 (diff)
Added by Ermal Luçi over 9 years ago

Ticket #338. Remove aliases_sort function and keep the list always sorted in config.xml. This reverts to previous behaviour.

History

#1 Updated by Pierre POMES over 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Chris Buechler over 9 years ago

Jocelyn - can you verify this fix please? I haven't been able to replicate it as easily as shown in the post, doing exactly that leaves me with properly functioning edits somehow, though there was an apparent issue.

#3 Updated by Jocelyn Le Sage over 9 years ago

It is fixed in 2.0-BETA1 built on Mon Feb 8 22:55:50 EST 2010. Edit buttons now map to the right aliases (note that aliases are no longer displayed in alphabetical order).

#4 Updated by Ermal Luçi over 9 years ago

I committed a patch to restore sorting of aliases again.
Please test and report if the previous sorting behaviour is ok to close this ticket.

#5 Updated by Jocelyn Le Sage over 9 years ago

With 2.0-BETA1-20100209-1409, aliases are still not sorted. They still appear in the order in which I created them.

#6 Updated by Chris Buechler about 9 years ago

  • Status changed from Feedback to Resolved

On Sat Feb 20 09:38:01 EST 2010 snapshot, aliases are properly sorted, and edit pages are all correct.

Also available in: Atom PDF