We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38304
    • 68 Posts
    Description of Problem:
    I noticed that many many imported and invisible set Spamcomments of an old Wordpress
    appeared in Articles after importing that wxr into Articles.

    I did search for a "hey you are a invisible Comment" in the exported wxr and found "<wp:comment_approved>spam</wp:comment_approved>"

    So i searched in MYsql an found an approved row in modx_quip_comments ... and i thinkm thats the one which has to be triggered by visible / invisible imports...

    i noticed that this filed is set as Tiny_int ... so an regular import of "spam" doesn#t work.

    i replaced SPAM with 0 because 1 is visible... and reimported...

    but all imported Wordpress articles are default 1 and no spam is parsed it seems.


    Steps to Reproduce:

    Just try with a wxr comment like this:
    	<wp:comment>
    		<wp:comment_id>1326</wp:comment_id>
    		<wp:comment_author><![CDATA[cialis en belgique]]></wp:comment_author>
    		<wp:comment_author_email>[email protected]</wp:comment_author_email>
    		<wp:comment_author_url>http://modx.com</wp:comment_author_url>
    		<wp:comment_author_IP>37.113.42.66</wp:comment_author_IP>
    		<wp:comment_date>2013-01-14 07:57:30</wp:comment_date>
    		<wp:comment_date_gmt>2013-01-14 05:57:30</wp:comment_date_gmt>
    		<wp:comment_content><![CDATA[This is very bad Spam! But Spam of approved is not parsed while impoting]]></wp:comment_content>
    		<wp:comment_approved>spam</wp:comment_approved>
    		<wp:comment_type></wp:comment_type>
    		<wp:comment_parent>0</wp:comment_parent>
    		<wp:comment_user_id>0</wp:comment_user_id>
    		</wp:comment>


    Expected Outcome:

    I think its an very simple parsing bug, or not implemented...(but Spam is a regular thing and should be parsed)


      Issue on Modxcloud with latest Softaware and Articles.

    Thank you!
    Chris [ed. note: theoretiker last edited this post 13 years, 8 months ago.]