-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Summary
See original report from Java team
Cloning an SdlArtwork after having the artwork set its _imageRPC property (ex. through setPrimaryGraphic) gets the property passed to the clone as well. When trying to set the file name to something else and sending it again the _imageRPC is cached and will not change its value. The FileManager doesn't use _imageRPC but the text and graphic operation class does and this causes the wrong image to show up on the HMI.
Reproduction Steps
- Send an SdlArtwork via setPrimaryGraphic
- Clone the SdlArtwork
- Change its file name
- Send it again via setPrimaryGraphic
Expected Behavior:
TextAndGraphicUpdateOperation uses the new file name in its _imageRPC and the right image is uploaded
Observed Behavior:
TextAndGraphicUpdateOperation uses the old file name in its _imageRPC and the wrong image is uploaded
Which projects have you seen this bug on?
No response
JavaScript Version(s)
1.5.0
sdl_javascript Version
1.5.0
Testing Environment(s)
Manticore v2.10.0Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working