Revision 39517

View differences:

branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/EditionManager.java
325 325
            boolean showForm = false;
326 326
            for (int i = 0; i < attributeDescriptors.length; i++) {
327 327
                FeatureAttributeDescriptor attrDesc = attributeDescriptors[i];
328
                if ((attrDesc.isPrimaryKey() || !attrDesc.allowNull())
328
                if (((attrDesc.isPrimaryKey() && !attrDesc.isAutomatic())|| !attrDesc.allowNull())
329 329
                    && feature.get(attrDesc.getName()) == null) {
330 330
                    showForm = true;
331 331
                    break;

Also available in: Unified diff