Sprite w/ database causes an issue

0 votes
asked Oct 18 in Bug by cilerler (180 points)
edited Oct 18 by cilerler

## description

Sprite w/ database causes duplicated image, where it doesn't happen for rectangle

## expected behavior

same as `rectangle`

## actual behavior

creates a duplicate image

## visual results

### rectangle

PlantUML diagram

### database

PlantUML diagram

## reproduction steps

```plantuml

@startuml
sprite $cloudsql [48x48/16] {
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000001110000000000000000000000
000000000000000000000124432000000000000000000000
000000000000000000012345664211000000000000000000
000000000000000001234556777653100000000000000000
000000000000000113456667788775321000000000000000
000000000000012345566667788877654310000000000000
000000000001124566666655677888876532100000000000
000000000023455666666533346788887765421000000000
000000000134566666554311124567788887542100000000
000000001234566665431100001234678887654200000000
000000002334555543210000000012457777764200000000
000000002233444321000000000000135666664200000000
000000001233333210000000000001124566664200000000
000000001233333322110000000023455666664200000000
000000001223333333221000011235666666543200000000
000000000012233333332211234556666665321000000000
000000000001122333333322345666665543210000000000
000000000000001223333333566666654311100000000000
000000000011000112233334566655432111121000000000
000000000122110001123334566543210123442100000000
000000000133221000012223555421101234653100000000
000000000123332211000112332101124556653100000000
000000000123333321100011221112345666653100000000
000000000123333332221000011244556666642100000000
000000000012233333332110123456666655431000000000
000000000001123333333222345566666543210000000000
000000000000012223333333566666654321100000000000
000000000011000112333334566666432101121100000000
000000000111100001223334566554321012332100000000
000000000122221000011234565421111234543100000000
000000000133332110001123443210113456653100000000
000000000133333222100001111012345566653100000000
000000000123333332210000001124566666642100000000
000000000012333333322110123455666666431000000000
000000000011223333333211235666666554320000000000
000000000000012233333323456666665421100000000000
000000000000001122333334566666543210000000000000
000000000000000011223334566654321000000000000000
000000000000000000122234565442100000000000000000
000000000000000000001123443210000000000000000000
000000000000000000000012331000000000000000000000
000000000000000000000000100000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
}

database "<$cloudsql>\nSQL" as cloudsql
@enduml

```

if you change the part `database "<$cloudsql>\nSQL" as cloudsql` as `rectangle "<$cloudsql>\nSQL" as cloudsql` it will work just fine.

1 Answer

0 votes
answered Oct 18 by The-Lu (36,240 points)
selected Oct 18 by cilerler
 
Best answer

Hello C.,

It is normal, see also similar issue/remark here:

See also:

Then, in order to force a deployment (and not a default sequence diagram), just add:
[a]
remove a
Here is the final result:
If that can help,
Regards,
Th.
commented Oct 19 by cilerler (180 points)
Thank you very much
...