Independent technical site, not affiliated with Oracle 中文English
Error · OEDS

ATTACHMENT_SCHEMA_NOT_CONFIGURED

Call CreateRoomMaintenance with an image and the order is created, but the image disappears; the image-delete operation can’t be tested either. The cause is how the OPERA database stores attachments, not the call itself.

Message
ATTACHMENT_SCHEMA_NOT_CONFIGURED
Seen in
CreateRoomMaintenance (images), DeleteRoomMaintenanceImages
Root cause
Attachment storage in BFILE mode; image path needs a database attachment schema
Status
Root cause found; the fix changes the database and hasn’t been applied in our lab
Lab status
Lab-tested

What we saw

  • Creating, changing, resolving and deleting maintenance orders all work;
  • Images sent with the order are silently dropped, with ATTACHMENT_SCHEMA_NOT_CONFIGURED in the response;
  • DeleteRoomMaintenanceImages can’t be verified because there’s nothing to delete.

Root cause

OPERA’s ATTACHMENT STORAGE parameter is BFILE (file-system storage). The maintenance-image code path checks for a real attachment schema in the database whatever the storage mode, and drops the image if there isn’t one.

Fix

An OPERA administrator has to create the attachment schema with OPERA’s database administration tooling. It’s a database-level change; do it with the hotel’s IT and Oracle support, with a backup first.

Advice for projects

If your operations system attaches photos to maintenance orders, ask the hotel up front whether the attachment schema exists. If not, keep photos in your own system and record only text and a link in the OPERA order.

Contact us

Tell us your system type and the hotel's OPERA version (5 on-premise or Cloud). We will reply with an interface plan and test schedule.

Scan to reach us on WeChat
Scan to reach us on WeChat