Project

General

Profile

Actions

Feature #354

closed

Automatically display eav tabs

Added by Filip Měšťánek about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Eav
Target version:
Start date:
04/04/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

In the GUI, there is a possibility to create new form definitions. But if I create one, it is not displayed. The newly created definition should be either automatically displayed, or it could be a setting (display form definition) in the form definition basic information.

Actions #1

Updated by Radek Tomiška almost 7 years ago

  • Category set to Eav
  • Status changed from New to Needs feedback
  • Assignee set to Ondřej Kopr
  • Priority changed from Normal to High
  • Target version set to Citrine (7.3.0)
  • % Done changed from 0 to 90

All definitions are visible in FE on identity tab. I had to add Codeable interface to IdmFormDefinition and IdmFormAttribute. New boolean flag main was added - default definition is main now.

Could you please do feedback and test (newly added features with correlation attrs)?

Note: I don't added 'display' flag to definition as ticket description says - this will be implemented through policies after eav will be refactored to dtos.

Actions #2

Updated by Ondřej Kopr almost 7 years ago

I did review everything works awesome. I found only one minnor bug, which is probably unrelated to this task:
When set all main attribute for one entity false and then create attribute mapping get error.
...

Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
...
ConstraintViolationImpl{interpolatedMessage='nesmí být null', propertyPath=persistentType, rootBeanClass=class eu.bcvsolutions.idm.core.eav.entity.IdmFormAttribute, messageTemplate='{javax.validation.constraints.NotNull.message}'}
]

Please give me feedback if is neccesary create new taskt for this.

Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 90 to 100

Thx for feedback, i tried to reproduce issue above, but all form agendas works (I've fixed form attribute filtering only). We'll create new ticket if error with constraint occurs again.

Actions

Also available in: Atom PDF