If submitting an entry with a new tag to a community that won't accept 
new
         tags from that poster, notify the poster that the new tag wasn't added 
to
         the entry, even though the entry otherwise posted successfully.

        Patch by fu. 

diffs (12 lines):

diff -r 5a4af5b06631 -r 89aa661f45d2 cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl     Sun Jun 13 20:13:02 2010 -0500
+++ b/cgi-bin/ljprotocol.pl     Sun Jun 13 21:10:32 2010 -0500
@@ -1526,6 +1526,8 @@ sub postevent
 
         my $rv = LJ::Tags::update_logtags($uowner, $jitemid, $logtag_opts);
         return fail($err,157,$tagerr) unless $rv;
+        # the next line will propagate any "skippable" errors
+        $res->{message} = $tagerr if $tagerr;
     }
 
     # meta-data
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to