Download & Extend

Flexifilter components arrange randomly each save

Project:Flexifilter
Version:6.x-1.1-rc2
Component:User interface - Misc
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Trying to recreate or edit the mediawikifilter, I have problems with randomly rearranging filter components (Simple text pattern replacement).
this is especially problematic, when replacing wikistyle syntax which has to be in a fixed order, e.g.

====headline==== (pattern ====, replacement

)
===headline=== (pattern ===, replacement

)
==headline== (pattern ==, replacement

)

If the h2-filter runs before h4-filter, h4 looks like ==

headline

==

Every time I try to fix the order of the filters with the Move-function, the filter order changes somehow, but it is in no way controllable.

Any ideas?

Comments

#1

oops, this is the example

====headline==== (pattern ====, replacement <h4></h4>)
===headline=== (pattern ===, replacement <h3></h3>)
==headline== (pattern ==, replacement <h2></h2>)

If the h2-filter runs before h4-filter, h4 looks like ==<h2>headline</h2>==

#2

Yes, I can confirm that this is a major issue as it affects everything! You can't get a good arrangement of anything in the list when this bug happens.

How exactly does this module arrange stuff? Is it to do with the order things appear in the database, as I can't really seem to find anything else detailing the arrangement of items.

#3

This is also a problem for me

drupal 6.17, flexifilter 6.x-1.2

The order of filters seems to change at random at each save.

#4

I have made a patch that implements weights, it might be kind of a hack, but it seems to work as planned. Check it out at this issue http://drupal.org/node/246676

Note that this is for the 1.2 version.

#5

I have the same problem with this plugin and I am getting little bit pissed off ... will someone fix this bug or we can stop using flexifilter ??

#6

Status:active» closed (duplicate)

Duplicate of #246676: Flexifilter components need weights.

(Whichever came first, that one has the patch.)

nobody click here