Menu

#316 loading files adds "date created" table column

v1.5-release
closed-works-for-me
7
2010-02-25
2008-03-04
No

i used the demo.cfg (the newest one, make sure you update). i played around making some annotations. saved them with a "tab" extension. quit phenote. started it again. then loaded the file. suddently, the column widths changed, and a "date created" column showed up. note that there was no data content in the column, nor did it show up in the editor (it showed up only in the table).

Discussion

  • Nicole Washington

    • labels: 902096 --> backend & both guis
     
  • Karen

    Karen - 2008-04-03

    Logged In: YES
    user_id=1929419
    Originator: NO

    This happens with the worm.cfg as well. This also results in a new line being created with no data aside from the date created.

     
  • Mark Gibson

    Mark Gibson - 2008-05-30

    Logged In: YES
    user_id=422804
    Originator: NO

    i think the issue here is that CharacterTableFormat is not dealing with "hidden" char fields - or the opposite actually its not checking for hidden - its just using config methods -
    these methods need to be altered to ignore hidden columns like date entered - which is hidden by default
    (this is also messing up sorter i think)

    public int getColumnCount() {
    return Config.inst().getEnbldFieldsNum(this.representedGroup);
    }

    public String getColumnName(int column) {
    return Config.inst().getFieldLabel(column, this.representedGroup);
    }

    public Object getColumnValue(CharacterI character, int column) {
    final CharField cf = this.getCharFieldForColumn(column);
    return character.getValueString(cf);
    }

     
  • Nomi Harris

    Nomi Harris - 2010-02-25
    • status: open --> closed-works-for-me
     
  • Nomi Harris

    Nomi Harris - 2010-02-25

    My saved tab file gets a new "Date Created" column (which is empty) but it doesn't show up in Phenote.

     

Log in to post a comment.