AUR web interface

Tasklist

FS#34508 - Changing category on the web gui does not reflect change

Attached to Project: AUR web interface
Opened by SanskritFritz (SanskritFritz) - Thursday, 28 March 2013, 14:10 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 18 August 2013, 09:10 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To canyonknight (canyonknight)
Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version 2.0.1
Due in Version 2.3.0
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

When I change the category of a package, the dropdown switches back to the old value. However when I refresh the page, the categroy shows the new correct value.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 18 August 2013, 09:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.2.1.
Comment by canyonknight (canyonknight) - Thursday, 11 April 2013, 21:56 GMT
pkg_change_category() is called after get_package_details(). The package details are retrieved before any category change attempt occurs. The AUR will then display the old package info even if the category was successfully changed.

I believe flagging/unflagging and orphaning/adopting will be affected in a similar way.
Comment by SanskritFritz (SanskritFritz) - Friday, 12 April 2013, 08:13 GMT
Yes, those functions behave similarly.
Comment by canyonknight (canyonknight) - Saturday, 04 May 2013, 14:06 GMT
  • Field changed: Due in Version (Undecided → 2.3.0)

Loading...