When exporting to HTML a book collection "you must select at least one field" pops up but "Field to be exported" is greyed out
Bug #1196313 reported by
cne007
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GCstar |
Fix Released
|
Undecided
|
Carlos Hsiao | ||
gcstar (Ubuntu) |
Fix Released
|
Undecided
|
Carlos Hsiao |
Bug Description
When exporting to HTML a book collection "you must select at least one field" pops up but "Field to be exported" is greyed out. Then you cannot continue the export.
Related branches
Changed in gcstar: | |
assignee: | nobody → Carlos Hsiao (weii666) |
Changed in gcstar (Ubuntu): | |
assignee: | nobody → Carlos Hsiao (weii666) |
Changed in gcstar (Ubuntu): | |
status: | New → Confirmed |
Changed in gcstar: | |
status: | New → Confirmed |
To post a comment you must log in.
I have just run into the same problem here - using Xubuntu 14.04 with the provided GCstar package (version 1.7.0).
The problem seems to be some leftover code in /usr/share/ gcstar/ lib/GCExport/ GCExportHTML. pm - look for the function 'wantsFieldsSel ection' :
sub wantsFieldsSele ction {genericAdded} || $self-> {genericModels} ;
{
my $self = shift;
return 1;
return $self->
}
In the current version it will always return '1' and thus make field selection mandatory for exporting - which IMHO is not needed for HTML export. Commenting the line with 'return 1;' - i.e. prepending it with a hash ('#') or removing it fixes the issue for me (GCstar needs to be restarted after the change if it was running).
Seems to be the same, as the problem mentioned in this post in the GCStar forums: forums. gcstar. org/viewtopic. php?id= 3462
http://
Maybe someone could push this upstream or notify the devs...