Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export of Resources module generating empty fields for Complimentary Attributes #15365

Closed
sachinsyam opened this issue Nov 12, 2020 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@sachinsyam
Copy link

Bug

[Export of Resources module generating empty fields for Complimentary Attributes. Only default fields are retrieved from database.]

Environment

  • Version: [12.0.3]
  • OS: [Windows 10 Build 18363]
  • Web server: [Apache/2.4.46]
  • PHP: [PHP/7.4.12]
  • Database: [5.5.5-10.5.6-MariaDB]
  • URL(s): [/dolibarr/exports/export.php?step=5&datatoexport=resource_1]

Expected and actual behavior

[Dolibarr should generate a CSV file with selected fields and their values from database.]

Steps to reproduce the behavior

[

  1. Create a complimentary attribute for 'Resources'.
  2. Add a new resource with some value for newly created complimentary attribute.
  3. Export resources using export module.
    ]

A related bug is also seen with 'Users' module.
If any complimentary attributes are created for users, they are not available for selection while exporting using the export module.

@sachinsyam sachinsyam added the Bug This is a bug (something does not work as expected) label Nov 12, 2020
@eldy eldy closed this as completed in 0215892 Nov 12, 2020
@larsborn
Copy link
Contributor

Hey @eldy, thanks a lot for the Bugfix! Before I'm investing a lot of time to back port it into the current Version (12.0.3 by the time of writing) I'd like to ask if there is already a release planed that includes this fix!

Thanks for all the hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants