Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#3722 closed defect (fixed)

copyClass API wrong source info

Reported by: Adeel Asghar Owned by: Per Östlund
Priority: high Milestone:
Component: Interactive Environment Version: v1.9.4-dev-nightly
Keywords: Cc:

Description

Run the attached script.
The model M is copied inside package P and P.M file info should be same as package P.

list(P) returns the correct information but if you call save(P) the contents of P.mo are wrong.

Attachments (3)

P.mo​ (21 bytes ) - added by Adeel Asghar 11 years ago.
M.mo​ (26 bytes ) - added by Adeel Asghar 11 years ago.
script.mos​ (220 bytes ) - added by Adeel Asghar 11 years ago.

Download all attachments as: .zip

Change History (8)

by Adeel Asghar, 11 years ago

Attachment: P.mo​ added

by Adeel Asghar, 11 years ago

Attachment: M.mo​ added

by Adeel Asghar, 11 years ago

Attachment: script.mos​ added

comment:1 by Per Östlund, 11 years ago

Fixed in 8e32ac5. copyClass now tries to be a bit less clever, and just puts the copied class in the same file as the destination package.

comment:2 by Martin Sjölund, 11 years ago

Milestone: 1.9.4 → 1.9.5

Milestone pushed to 1.9.5

comment:3 by Martin Sjölund, 11 years ago

Milestone: 1.9.5 → 1.10.0

Milestone renamed

comment:4 by Per Östlund, 10 years ago

Resolution: → fixed
Status: new → closed

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.