You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
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
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)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: