Modify

Ticket #1337 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Some modules appears as changed after making a backup

Reported by: javier.amor.garcia@… Owned by: jamor@…
Milestone: 2.2 Component: base
Severity: normal Keywords:
Cc:

Description (last modified by juruen@…) (diff)

I have sen this with the events and objects modules.

Moved for post 1.4

Attachments

Change History

comment:1 Changed 4 years ago by javier.amor.garcia@…

  • Milestone set to 1.1

comment:2 Changed 4 years ago by javier.amor.garcia@…

a call to EBox::DataTable::ids() mark the modules as cahnged. This call is made to get the files for the row's elements which need to been backed up.

comment:3 Changed 4 years ago by juruen@…

  • Milestone changed from 1.1 to 1.2

comment:4 Changed 4 years ago by juruen@…

  • Milestone changed from 1.2 (stable release) to 1.1.10 (alpha2)

comment:5 Changed 4 years ago by juruen@…

  • Milestone changed from 1.2.10-maint to 1.4

comment:6 Changed 3 years ago by juruen@…

  • Description modified (diff)
  • Milestone changed from 1.4 to nice to have someday

Events is the module that makes this happen

comment:7 Changed 3 years ago by jsoriano@…

  • Owner changed from juruen@… to jacalvo@…

comment:8 Changed 2 years ago by jacalvo@…

  • Owner changed from jacalvo@… to jacalvo@…

comment:9 Changed 2 years ago by jacalvo@…

  • Milestone changed from nice to have someday to 2.1

comment:10 Changed 2 years ago by jacalvo@…

  • Owner changed from jacalvo@… to jamor@…

comment:11 Changed 2 years ago by jamor@…

  • Status changed from new to assigned

comment:12 Changed 2 years ago by jamor@…

Possible explanation:

1) framework call ids() when looking for EBox::Types::File to backup

2) soem tables had a syncRows() which modifies things thus marking the module a changes

comment:13 Changed 2 years ago by jamor@…

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [21152]) Now EBox::Types::HasMany? has _hasFileFields method, avoiding some unnecessary calls to ids() and row() closes #1337

comment:14 Changed 2 years ago by jamor@…

The last commit fioxes monitor module but this problem could arise in a module which have a DataTable? whith a EBox::Type::File or EBox::Type::HasMany? with a foreignModel with EBox::Type::File AND a syncRows method which fires, adding/removing rows

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.