I suggest you ...

allow for more than 255 chars in the 'Description' field

58 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    LoothiLoothi shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • smilesmile commented  ·   ·  Flag as inappropriate

        that's simple enough. Thanks Troy Roberts. They should add your code into the program.

      • Troy RobertsTroy Roberts commented  ·   ·  Flag as inappropriate

        Ok scratch that solution, you CANT increase it to anything over large like 20000. The description field does not maintain line breaks. so if you increase it too much the actual description will not flow properly to a second page.

      • Troy RobertsTroy Roberts commented  ·   ·  Flag as inappropriate

        Ok here is what i did (use at your own risk, i have ZERO idea if it will break anything for you).

        I modified the description field in the database in the item table to be a VARCHAR(20000)

        i then modified the following files as follows:

        config\doctrine\schema.yml
        Line 112: description: string(20000)

        lib\model\doctrine\base\BaseItem.class.php
        Line 70: $this->hasColumn('description', 'string', 20000, array(
        Line 72: 'length' => 20000,

        lib\form\doctrine\base\BaseItemForm.class.php
        Line 34: 'description' => new sfValidatorString(array('max_length' => 20000, 'required' => false)),

        It worked for me, it may or may not work for you

      • Troy RobertsTroy Roberts commented  ·   ·  Flag as inappropriate

        I agree, this is not a feature, this is a bug. How is a 255 char limit even feasable as a descriptor field for invoices. Even something as simple as a pc would require way more. This should be addressed ASAP, this is a complete non-starter for me to use this product.

      • LoothiLoothi commented  ·   ·  Flag as inappropriate

        I like to give detailed feedback of 'what I did' in the description, and I often need more than 255 chars. Thanks.

      Feedback and Knowledge Base