Loading...
 
Skip to main content

proposals/6x: Edit a Banning rule deletes the rule!

Status
Closed
Subject
proposals/6x: Edit a Banning rule deletes the rule!
Version
6.x
Category
  • Error
  • Less than 30-minutes fix
Feature
User Administration (Registration, Login & Banning)
Submitted by
Xavier de Pedro
Volunteered to solve
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

When you edit a banning rule, that rule gets deleted (at least, from the list at the Banning interface in Tiki).

To reproduce:

  • go to tiki-admin_banning.php
  • add a rule for this ip "91.201.66.6" (real ip of spammers, btw) with the title "91.201.66.6_regular_spammers"
  • Check all features
  • Check the setting to activate the rule by dates
  • Select the maximum possible time frame (btyw, this only allows selecting within the same year: reported by somebody else already in another bug report; see bug3643)
  • add some custom message
  • save
  • click at the title of your rule in order to have it open for edition again for you
  • the rule is deleted from the list of rules, and the edit interface is empty


confirmed in two different tiksi from different servers... (btw, 5.x is also affected)

Solution
This is fixed for Tiki 7 in r33917.
Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3788
Created
Wednesday 09 February, 2011 12:45:39 UTC
by Xavier de Pedro
LastModif
Tuesday 12 April, 2011 06:19:28 UTC


Show PHP error messages