largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0015284 [phplist] User Management minor always 12-05-09 00:37 06-10-09 16:07
Reporter h2b2 View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 2.10.10
Summary 0015284: v2.10.10: Delete attribute and Merge attribute feature does not seem to be working
Description On the 'configure attributes' page (lists/admin/?page=attributes), deleting or merging attributes has no effect.
.
Additional Information Issue reported by postmanpat: http://forums.phplist.com/viewtopic.php?f=17&t=24502&start=0 [^]

Confirmed on my system:
 phplist 2.10.9
 Linux/Apache
 PHP 5.2.3
 MySQL 4.1.12
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0050641)
h2b2 (reporter)
12-05-09 02:38

Correction: my test system is running 2.10.10, not 2.10.9
(0050649)
tallbiker66 (reporter)
15-05-09 17:20

May I ask when this bug will be resolved? Could you please raise the severity to high? The fact that attributes can't be deleted renders the 2.10.10 release pretty much useless.

Thank you.
tallbiker66
(0050654)
h2b2 (reporter)
18-05-09 06:43

If you have an attribute that you don't want included on your subscribe page and preferences page, you can simply edit the subscribe page (e.g. lists/admin/?page=spageedit&id=1), and un-tag the attribute's checkbox "Check this box to use this attribute in the page".
ref: http://docs.phplist.com/EditSubscribePageInfo [^]
(0050655)
tallbiker66 (reporter)
18-05-09 13:40

H2B2, thank you for getting back with me. Is there a way to make the Name attribute mandatory? Using the form to edit the subscribe page will allow me to take it off, but I really want it to be mandatory for people to subscribe to lists.

Thank you.
tallbiker66
(0050659)
h2b2 (reporter)
19-05-09 04:10

Ah, I didn't yet notice that ***making attributes required doesn't work*** either. Have now, and can confirm this issue on my system.

Short of an actual fix, I don't see a solution for this one. Perhaps a workaround by applying the customized subscribe _form_ method described in http://docs.phplist.com/CustomSubscribeForm [^]
You'll then need to add the "Name" attribute to the existing javascript form validation.
(0050663)
iloveitaly (reporter)
26-05-09 22:00

Every instance of $tagaction['merge'] must be replaced by $_POST['tagaction']['merge']
(0050690)
dathwa (reporter)
02-07-09 11:29

i installed v.2.10.10 a few days ago. i too cannot delete attributes.
i can make them "not require", which is good.
However, the admin user is presented with a bunch of choices on the "criteria" tab for sending a new message, and it can be a bit confusing.

Hope you can fix it soon.
ta.
(0050693)
mrdak (reporter)
10-07-09 19:20

Doesnt Work here neither will this be fixed someday?
(0050694)
flo_reu (reporter)
23-07-09 09:58

I solved the problem...
just change line number 148 in file admin/commonlib/pages/attributes.php from

if (isset($tagaction['delete'])) {

to

if (isset($_POST["tagaction"]['delete'])) {

and then it works fine for me :)
(0050695)
flo_reu (reporter)
23-07-09 11:00

btw... the same for the merge in line 171:

change } elseif (isset($tagaction['merge'])) {

to

     } elseif (isset($_POST["tagaction"]['merge'])) {
(0050696)
flo_reu (reporter)
23-07-09 14:23

to solve the problem with the attributes in the signup page / edit change in line 57-59 of /admin/spageedit.php from

      $default = $attr_default[$att];
      $order = $attr_listorder[$att];
      $required = $attr_required[$att];

to

      $default = $_POST["$attr_default"][$att];
      $order = $_POST["attr_listorder"][$att];
      $required = $_POST["attr_required"][$att];
(0050707)
umiwangu (reporter)
10-08-09 08:45

Flo_reu's solution worked for me, at least for deleting attributes.
(0050723)
h2b2 (reporter)
29-08-09 13:20

flo_reu's fix for the delete and merge attributes issue works fine on my system.

The patched lists/admin/commonlib/pages/attributes.php file has been included as an attachment in this forum post: http://forums.phplist.com/viewtopic.php?f=17&t=24502#p67476 [^]
(0050747)
fptheatre (reporter)
06-10-09 16:07

flo_reu's edits worked for me. attributes can now be deleted on my system.


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker