Needs review
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
General
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2009 at 07:45 UTC
Updated:
29 Oct 2012 at 11:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedComment #2
andyf commentedI can't believe this bug's been around this long without someone spotting it, but I have exactly this issue, and it seems to be down to the logic in content.devel.inc. If $max is 0 (one value) it works fine, if $max is 1 (unlimited) it works fine, if it's another fixed number however it'll iterate once too many times.
Patch attached. As I say, I'm very confused as to how this could've escaped the gazillions of other developers using this, so I might've missed something :)
Thanks,
Andy
Comment #3
moshe weitzman commentedDoes D7 need similar fix?
Comment #4
andyf commentedJust gave it a quick go, and it appears that D7's fine. Btw, I realise now that I hijacked/misread this unrelated issue. The OP was on about a field's max length, and I'm referring to the number of fields generated.
Comment #5
andyf commentedPatch isn't committed.