|
This question: Click on add and edit radgrid gives error[^] has HTML and C# code - but while the HTML is in pre tags the C# is unformatted.
So I edit it, add the tags and try to save - and get an error message Quote: The content must be between 30 and 50000 characters. While I agree that 50K is far too much to drop on us in QA (my text editor says it's 52,916 characters) I'm guessing that the HTML block converter is the reason it's so huge: "<" instead of "<" pushing it over the 50K limit.
Perhaps the limit needs a bit more sophisticated checking to allow for the substitutions?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
If we're at the point where we need to worry about < vs < then the question is already a catastrophe.
I would either
- Post a comment (not as an answer) and say "Would love to help, but you need to help us help you. Please edit the question down the the specific problem", or
- close it.
Everyone here works their bottoms off trying to help others, but questions that just suck the life out of someone just take the wind out of everyone's sails. Leaving them up also implicitly says questions like that are acceptable.
The other reason to post a comment is that if a comment is posted and the OP doesn't reply, or doesn't make a change, then they aren't paying attention in the first place, or simply aren't interested in putting in effort to help us help them.
We should help them help themselves, but also be ready to move on.
cheers
Chris Maunder
|
|
|
|
|
One way to do it without the soul destroying wall of text might be to lower the limit? I mean, 50K of code is the equivelant of 10,000+ words (English average word length is 4.7 characters) which is half way to a novella! No bugger is going to read it all anyway
What if the original max length was a more reasonable 4K? If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone? That's still a 4 page short story or a couple of hundred lines of code?
What does the DB say is the average length of a QA question?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You're totally right, but I think there was something, somewhere, at sometime, that made me bang my head against and wall, sigh, and then just crank the limit up to 11. or 50,000, as it were.
Yeah - 4K is enough for anyone. To paraphrase someone whose name escapes me
cheers
Chris Maunder
|
|
|
|
|
OriginalGriff wrote: If the "too long" message was changed to suggest relevant code fragments only that could kill two birds with one stone?
That presupposes that the user will read and understand the message, and not just post a link to download their 100KLoC project from a dodgy file hosting site instead.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: That presupposes that the user will can read and understand the message, and not just post a link to download their 100KLoC project from a dodgy file hosting site instead.
FTFY ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
The post in question is - Error verify data in database[^]
I tried to edit the question by removing additional pre tag elements and add language tag. When done and I select 'Update question', the text area element shows an error 'The content must be between 30 and 50000 characters' which of course it is.
I tried a few times, no luck. Did I miss something?
I did edit some other questions earlier on and they updated just fine...
modified 10-Aug-23 4:55am.
|
|
|
|
|
After removing the <pre> tags from the "what I have tried" section, the content ("what could cause this error?") is only 28 characters long.
Moving the code block to the "what I have tried" section allows you to post the update.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Obvious... Thanks Richard, I never thought of checking the count in the "What I have tried" block, just removed the pre tags.
|
|
|
|
|
I stopped receiving the daily and weekly newsletters (that I subscribed to eons ago) a few months or maybe a couple of years ago.
I put this down to my ISP's hyperactive and inaccurate spam blocking, not too concerned since I visit the site every day anyway.
However, the plot thickens...
This morning I received one of each, both apparently delayed by a few days.
This is the headers from one of them (my email redacted)
From - Wed Aug 09 08:01:03 2023
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <mailout@maillist.codeproject.com>
Delivered-To: peter@myisp.com
Received: from exhprddir204 ([10.216.164.7])
by claprdmst205 with LMTP
id 4JztDR670mT7mAAAx7uDXw:P1
(envelope-from <mailout@maillist.codeproject.com>)
for <peter@myisp.com>; Wed, 09 Aug 2023 08:01:02 +1000
Received: from exhprdmxe37 ([10.216.164.7])
by exhprddir204 with LMTP
id 4JztDR670mT7mAAAx7uDXw
(envelope-from <mailout@maillist.codeproject.com>)
for <peter@myisp.com>; Wed, 09 Aug 2023 08:01:02 +1000
Received: from mail.maillist.codeproject.com ([76.74.234.204])
by exhprdmxe37 with esmtp
(envelope-from <mailout@maillist.codeproject.com>)
id 1qTUlA-000FgY-0V
for peter@myisp.com;
Wed, 09 Aug 2023 08:01:02 +1000
Received: from jobs01 (unknown [192.168.5.180])
by mail.maillist.codeproject.com (Postfix) with ESMTP id 3D2461009AF
for <peter@myisp.com>; Sun, 6 Aug 2023 23:29:16 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
d=maillist.codeproject.com; s=mail; t=1691378956;
bh=OwLyzbabHvpa4lBqDrsN4pV00NNf74M8Nsctw56Blig=;
h=MIME-Version:From:To:Date:Subject:Content-Type:
Content-Transfer-Encoding:Message-Id;
b=QY3Dibwi1MqDJ+/bNz/HTp3vVmrc+rZSRjjNrxjkBJyHksTX5EZe39ffE6t/VEGt3
+KXcHZ774YC3ratJkwQLoc07GXJCxwNfHAnQCCrNI0b4ifzLwELEWTQ/SrHdYgmy9b
jBRreFQ+HlaLGMoyssIDJGDLg8YfF29Mf0ewwCp0=
Feedback-ID: 1:10469:3214823
MIME-Version: 1.0
From: "CodeProject" <mailout@maillist.codeproject.com>
To: "Peter_in_2780" <peter@myisp.com>
Date: 7 Aug 2023 01:16:09 -0400
Subject: =?utf-8?B?8J+SviBXZWVrbHkgTmV3c2xldHRlciAoNyBBdWcgMjAyMyk=?=
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
Message-Id: <20230807032916.3D2461009AF@mail.maillist.codeproject.com>
X-tce-ares-id: i{f82c3482-bd2e-4ffe-a48b-5f94dad9d1e3}1
X-tce-spam-action: no action
X-tce-spam-score: 0.0
X-tce-spam-report: Action: no action
X-Cm-Analysis: v=2.4 cv=CtR5MF0D c=1 sm=1 tr=0 ts=64d2bb1d cx=a_idp_nop a=cEx/TdIhgwUOmJAN5YTHpA==:117 a=cEx/TdIhgwUOmJAN5YTHpA==:17 a=IkcTkHD0fZMA:10 a=cWVxcIv7WsQA:10 a=UttIx32zK-AA:10 a=d9HCk1EvQMgA:10 a=5KLPUuaC_9wA:10 a=Rr5kw0T3AAAA:8 a=lj6UE3zRAAAA:8 a=rBg2x4foAAAA:8 a=1IlZJK9HAAAA:8 a=_ue--oatAAAA:8 a=6VcuLrCU4Tj6pEmgEx0A:9 a=5dETS1ae_OGgO2u_:21 a=frz4AuCg-hUA:10 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 a=QEXdDO2ut3YA:10 a=jypW0SkP6SEA:10 a=UrJKDeosJEUA:10 a=LySvJz2-1AUA:10 a=zkR731ashDYA:10 a=1q-xnZUlyZYA:10 a=aiJIL1O15MwA:10 a=RVmHIydaz68A:10 a=gXT8Qi3lWLxqOUwXnsB4:22 a=IeRm9hI1ZCgmBbQ4fEU0:22 a=poXaRoVlC6wW9_mwW8W4:22 a=IRCzeXmfL_n-RDOdNtXb:22 a=l-Sr5d0KJDb4l6bgICYh:22 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=bWyr8ysk75zN3GCy5bjg:22
X-Cm-Envelope: MS4xfCGqn+GIuqGxaX7CdOPxVUuiKvmIhjSytsr+R7KjapTd6kXFk5WL5q6Bg9BijgB4WEEfjZ49rdNeWcmpAFZqucJMmkbU2FUd1Nq0rksbqosy/EPpVGGV iwlUuKPf+qU21apSqVrco4ZjdQx51BB6i/12RUnC+FVeu4Vb6LeC9bx/WyNGCb66UlF0ArZNJ72NtqIX51/MQJyBpvX+rasuwP4=
X-tce-route: accept It appears there is something weird delaying it before it runs through my ISP to me.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
We are looking into this.
Thanks for the detailed report, it is most helpful.
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
I can send the other one too if that would be any help.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
This was probably asked or suggested before -
Is there any way we can sort the 'Unanswered' or the 'Active' questions by date, especially the 'Active' tab. I am quite involved in the Q&A forum and it does get very confusing when posts as old as 2011 etc pops up at the top.
I understand that if someone reacted to an old post it will pop to the top but most has not been touched at all. By habit, I will select a link not viewed by me before, wait for it to open in a new browser tab to then realize that I am looking at an ancient post.
Any ideas or am I just being facetious?
|
|
|
|
|
They're "touched" when a spammer posts something to the old question, but the post is flagged as "awaiting moderation". You can't see posts waiting in the moderation queue, but the question it's attached to has been "touched" so it appears back at the top of the QA list.
|
|
|
|
|
I am not sure if it gets "touched" when the spam post gets in moderation, but it is touched for sure when the spam post gets nuked by us or rejected from moderation.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Thanks Dave, it all makes sense now, appreciate.
|
|
|
|
|
Andre Oosthuizen wrote: Any ideas or am I just being facetious? Neither, it happens to all of us. I think it happens when a spam post tries to answer (or add a comment to) the QA. Someone then kills the spam post but the QA entry still has the updated timestamp.
|
|
|
|
|
Thanks Richard, appreciate.
|
|
|
|
|
I'm going to bump our old (sorry, very old now) bug about spam posts bumping the date.
cheers
Chris Maunder
|
|
|
|
|
We've made a change so that when Answers are Deleted or Closed by Moderators or the Spam Filter, the Thread Last Updated gets recalculated using only the Available Answers.
This means that SPAM no longer will mess up the Q&A list with old Questions.
Matthew
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
Thanks Matthew, just saw it in action!
|
|
|
|
|
Looks like six threads have had their root message removed, and the replies merged into one thread:

"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yep, long standing bug. Many members on this site have reported this bug type before.
delete all child records and parent record where parent record ID == some id.
It must be more complicated than that; I just don't see why this can't be fixed in a relative short amount of time.
modified 7-Aug-23 15:33pm.
|
|
|
|
|
This just occurred in the Lounge. Someone deleted the parent OP thread and now all it's child records are now part of Mike Hankey's "Free Shipping" thread.
This kind of bug and how long it has been active in Productions, blows my mind into a million pieces.

|
|
|
|
|
Those two parent messages were trolling; they contained nothing more than "trrryyyy?????" and "!!!!!!".
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|