View Issue Details

IDProjectCategoryView StatusLast Update
0013193ScribusPDFpublic2015-08-28 01:23
Reporterraf2005 Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformWindowsOS7OS Version7
Product Version1.5.1svn 
Fixed in Version1.4.6.svn 
Summary0013193: Doesn't save a javascript script.
DescriptionScribus wont save the scripts I create.
1.5.0svn
Steps To ReproducePdf options
Field properties
Action
Type: javascript
Edit
Save and exit
TagsNo tags attached.
PatchNo

Activities

Kunda

2015-07-02 17:29

updater   ~0035625

Do you mind posting the script that you were trying to run ?

raf2005

2015-07-02 18:09

reporter   ~0035630

Yes, but the problem is not the script as it runs on another version.

raf2005

2015-07-02 22:59

reporter   ~0035646

var b1 = this.getField("t1");
var b2 = this.getField("t2");
var b3 = this.getField("t3");
var b4 = this.getField("t4");
var b1a = this.getField("t1a");
var b2a = this.getField("t2a");
var b3a = this.getField("t3a");
var b4a = this.getField("t4a");
var b1b = this.getField("t1c");
var b2b = this.getField("t2c");
var b3b = this.getField("t3c");
var b4b = this.getField("t4c");
var b1c = this.getField("t1d");
var b2c = this.getField("t2d");
var b3c = this.getField("t3d");
var b4c = this.getField("t4d");
b1a.value = b1.value;
b2a.value = b2.value;
b3a.value = b3.value;
b4a.value = b4.value;
b1b.value = b1.value;
b2b.value = b2.value;
b3b.value = b3.value;
b4b.value = b4.value;
b1c.value = b1.value;
b2c.value = b2.value;
b3c.value = b3.value;
b4c.value = b4.value;

Kunda

2015-07-02 23:17

updater   ~0035647

I can't recreate on OSX 10.10.3 1.5.1svn r20227
When I follow the instructions and save the js code in action tab, save and close..then reopen file: code is still there. Perhaps this is Windows related ?

Kunda

2015-07-08 01:55

updater   ~0035682

hey raf, it's been fixed in the latest trunk code. At this moment there is no nightly windows build that you can use to test. Sorry

Kunda

2015-08-28 01:23

updater   ~0036110

Fixed by Jean in r20230/2.
Thanks to raf2005 and jean.
Closing issue for now.

Issue History

Date Modified Username Field Change
2015-06-30 22:41 raf2005 New Issue
2015-07-01 06:10 jghali Product Version 1.4.6.svn => 1.5.1svn
2015-07-02 17:29 Kunda Note Added: 0035625
2015-07-02 18:09 raf2005 Note Added: 0035630
2015-07-02 22:59 raf2005 Note Added: 0035646
2015-07-02 23:17 Kunda Note Added: 0035647
2015-07-03 22:27 jghali Status new => resolved
2015-07-03 22:27 jghali Fixed in Version => 1.4.6.svn
2015-07-03 22:27 jghali Resolution open => fixed
2015-07-03 22:27 jghali Assigned To => jghali
2015-07-08 01:55 Kunda Note Added: 0035682
2015-08-28 01:23 Kunda Note Added: 0036110
2015-08-28 01:23 Kunda Status resolved => closed