Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-09-04 15:39:44
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
r1794: List multi-edit cases...
Just noticed that there are some options in the list multi-edit screen that can lead to articles with an invalid state (IMO).
To reproduce…
- Go to the content > articles tab.
- Check off any article in the right hand colunm
- Scroll to the bottom
- Choose either ‘Change status’ or ‘Change author’
- In the select box, make sure the blank option is selected
- Hit the go button
There you are, articles with no status or author.
In the case of blank status, if you then go and edit the article the status is displayed as ‘live’ but unless you save the article, the status remains 0 in the textpattern table.
In the case of blank author, the authorid field is indeed blank in the textpattern table and is not displayed in the article write tab.
— Steve
Offline
Re: r1794: List multi-edit cases...
Possible fix: in txp_list.php, function list_multi_edit, below the line that reads <code>$val = ps(‘Status’);</code>, add <code>if (empty($val)) $selected = array();</code>
Same in the ‘Author’ case statement.
PS. I noticed that it is now possible to assign no section to an article… has that changed since 4.0.3?
Last edited by ruud (2006-09-04 16:38:34)
Offline
#3 2006-09-18 15:12:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: r1794: List multi-edit cases...
Thanks Ruud. r1832.
Offline
Pages: 1