unfoldedcircle / feature-and-bug-tracker

Feature and bug tracker repository for Unfolded Circle products
22 stars 0 forks source link

[bug] Cannot update button mapping to activity (made available by an integration) #394

Closed Albatross7591 closed 2 days ago

Albatross7591 commented 3 days ago

Is there an existing issue for this?

Description

Could be related with an other bug: https://github.com/unfoldedcircle/feature-and-bug-tracker/issues/392

After selecting activities during integration setup, the integration can not assign a button mapping (error 'Not available')

How to Reproduce

  1. Create integration
  2. During setup integration respond on 'get_available_entities' with one (or more) entities of type 'activity'
  3. Select that specific entity
  4. try to update button mapping (via RESTAPI activities/{activityId}/buttons/{button.Button} ): response will 'Not available'

Workaround for this bug: Call RESTAPI 'DELETE /activities/{entityId}/buttons' on a new activity will reset button mapping and a new button mapping can be added to the activity

Expected behavior

Assigning a button mapping to an activity without resetting the button mapping on a new activity

System version

v1.7.14

What part of the system affected by the problem?

Core, Integration

Additional context

No response

zehnm commented 3 days ago

See https://github.com/unfoldedcircle/feature-and-bug-tracker/issues/392#issuecomment-2208297643

Albatross7591 commented 2 days ago

closed: activities should not be made available as entities (see #392)