Skip to content

Property support for entity does not work #27

@GoogleCodeExporter

Description

@GoogleCodeExporter
The recently added attribute value for entity does not work as expected. The 
method isValid in class EntityNode does not respect if the value attribute has 
been set. It should be something like:

  public boolean isValid() {
    if (null != text && text.length() > 0) {
      return true;
    } else if (null != file) {
      return true;
    } else if (null != value) {
      return true;
    }
    return false;
  }

Sorry not reporting this until now. I just assumed that this worked but a few 
minutes ago a colleague spotted a 500 error in a log... :)

Original issue reported on code.google.com by anders.j...@gmail.com on 14 Sep 2011 at 11:52

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions