Click here to Skip to main content
15,890,399 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Possible abuse by Platinum member Pin
Chris Maunder3-Aug-15 14:31
cofounderChris Maunder3-Aug-15 14:31 
GeneralRe: Possible abuse by Platinum member Pin
Brisingr Aerowing3-Aug-15 14:35
professionalBrisingr Aerowing3-Aug-15 14:35 
BugWhy is CodeProject's mailed newsletter different from the "online" version? Pin
Qwertie2-Aug-15 10:15
Qwertie2-Aug-15 10:15 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Chris Maunder3-Aug-15 14:31
cofounderChris Maunder3-Aug-15 14:31 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Qwertie3-Aug-15 16:59
Qwertie3-Aug-15 16:59 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Chris Maunder4-Aug-15 3:27
cofounderChris Maunder4-Aug-15 3:27 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Chris Maunder4-Aug-15 6:49
cofounderChris Maunder4-Aug-15 6:49 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Chris Maunder4-Aug-15 8:18
cofounderChris Maunder4-Aug-15 8:18 
Found and fixed the issue. It was an interesting one.

We have an attribute system that is hierarchical. C#4.0 lives under C#, Win7 lives under Windows. We have a class that manages collections of attributes and it has a property "AttributeNames". This property returns a human readable string of the attribute names in a set of attributes.

Our newsletter system is drive by a JSON content feed, and that content feed uses our Article object, which has an Attributes object, to get information on the items to include in the newsletter. We pass in title, author, date published, and an array of attributes (tags) attached to the article, and the feed returns a JSON object that includes an array of attribute names that the mail system uses to filter content.

All pretty straightforward.

Except article.Attributes.AttributeNames takes into account the parent relationships and so if it has the tags "C#3.0, C#4.0, Win7" it returns "C# (C#3.0, C#4.0), Windows (Win7)". Our JSON feed takes this and assumes it's a comma separated list and splits the list by comma. So we get
  • "C# (C#3.0"
  • "C#4.0)"
  • Windows (Win7)
as the list of attributes.

I've updated the comment on AttributeNames to ensure users know it is for human consumption only, and that they should use NameCommaString() if they want a raw comma delimited list of attribute names.
cheers
Chris Maunder

GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Qwertie4-Aug-15 8:37
Qwertie4-Aug-15 8:37 
GeneralRe: Why is CodeProject's mailed newsletter different from the "online" version? Pin
Chris Maunder4-Aug-15 8:39
cofounderChris Maunder4-Aug-15 8:39 
SuggestionOption to not to show the paste options in Q&A Pin
Wendelius1-Aug-15 0:44
mentorWendelius1-Aug-15 0:44 
SuggestionQuick Questions: Improvement Pin
Patrice T31-Jul-15 23:26
mvePatrice T31-Jul-15 23:26 
GeneralRe: Quick Questions: Improvement Pin
Richard MacCutchan1-Aug-15 0:35
mveRichard MacCutchan1-Aug-15 0:35 
GeneralRe: Quick Questions: Improvement Pin
Patrice T1-Aug-15 0:44
mvePatrice T1-Aug-15 0:44 
GeneralRe: Quick Questions: Improvement Pin
Richard MacCutchan1-Aug-15 1:27
mveRichard MacCutchan1-Aug-15 1:27 
GeneralRe: Quick Questions: Improvement Pin
Patrice T1-Aug-15 2:17
mvePatrice T1-Aug-15 2:17 
GeneralRe: Quick Questions: Improvement Pin
Kornfeld Eliyahu Peter1-Aug-15 22:39
professionalKornfeld Eliyahu Peter1-Aug-15 22:39 
SuggestionPoint rewarding (Spam Filter) Pin
Marco Bertschi30-Jul-15 21:05
protectorMarco Bertschi30-Jul-15 21:05 
GeneralRe: Point rewarding (Spam Filter) Pin
RedDk31-Jul-15 11:11
RedDk31-Jul-15 11:11 
GeneralRe: Point rewarding (Spam Filter) Pin
Chris Maunder3-Aug-15 15:38
cofounderChris Maunder3-Aug-15 15:38 
QuestionRelative date/time errors? Pin
Matt T Heffron30-Jul-15 5:58
professionalMatt T Heffron30-Jul-15 5:58 
AnswerRe: Relative date/time errors? Pin
Nelek30-Jul-15 9:52
protectorNelek30-Jul-15 9:52 
SuggestionTechnical Blog Consumption : Problem with Internal Urls on the page Pin
In28Minutes29-Jul-15 17:52
In28Minutes29-Jul-15 17:52 
QuestionReopen QA issue... Pin
Kornfeld Eliyahu Peter28-Jul-15 3:12
professionalKornfeld Eliyahu Peter28-Jul-15 3:12 
AnswerRe: Reopen QA issue... Pin
Slacker00728-Jul-15 5:35
professionalSlacker00728-Jul-15 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: FixedAnsweredAdded to TODOCompleted

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.