Project

General

Profile

Actions

Defect #3071

closed

General export doesn't export attributes with same codes as EAVs

Added by Alena Peterová about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Tomáš Doischer
Category:
Report
Target version:
Start date:
03/09/2022
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

The bulk action "Report" on users generates the General export of entities (formable-entity-report), which doesn't contain some of the basic attributes of identities if those attributes exist as EAVs.

Namely: We use Registration module for self-registration of the users. All attributes that are required to register aren't visible in the report. Please see attached file formable-entity-report-20220309162007.xlsx

Form definition:

Tested on 11.2.1 and 10.4.3

Note: the default name of the downloaded report file is sometimes strange:
Firefox with 10.4.3: formable-entity-report-20220309162007.xlsx (OK)
Firefox with 11.2.1 on appliance: render (?)
Chrome: formable-entity-report-20220309161813.xlsx (?)


Files

formable-entity-report-20220309162007.xlsx (3.87 KB) formable-entity-report-20220309162007.xlsx Alena Peterová, 03/09/2022 03:22 PM
formdef.png (78.4 KB) formdef.png Alena Peterová, 03/09/2022 03:22 PM
Actions #1

Updated by Tomáš Doischer about 2 years ago

  • Sprint set to Sprint 12.2-2 (bře 02 - bře 16)
  • Status changed from New to In Progress
  • Target version set to 12.2.0
Actions #2

Updated by Roman Kučera about 2 years ago

Wrong file name (render) should be fixed from 11.2.2 https://redmine.czechidm.com/issues/2979

Actions #3

Updated by Tomáš Doischer about 2 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Tomáš Doischer to Roman Kučera
  • % Done changed from 0 to 100

The issue with duplicitous codes was fixed. To ensure uniqueness, I add "_eav" to the column name and number if the name is already present. This is because you could in theory have two EAVs in two definitions with the same code.

PR: https://github.com/bcvsolutions/CzechIdMng/pull/183

@kucerar, can you give me feedback?

Actions #4

Updated by Roman Kučera about 2 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Roman Kučera to Tomáš Doischer

Thx, working nicely. Merged.

Actions #5

Updated by Roman Kučera almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF