Skip to content

[Bug]: Edit tasks in bulk and Just add these tags results in error #99

@cjohnsonuk

Description

@cjohnsonuk

Bug Summary

When editing tasks in bulk and checking the Just add these tags box the edit fails and error is displayed.

Description

I get the error
Internal Error: SQL Error[42S22]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags_only_add_new' in 'SET'

when bulk editing tasks to add tags

If I don't click "just add these tags" checkbox it works as expected and replaces existing tags with the ones in the bulk edit form

Steps to Reproduce

In list view I select multiple tasks.
I click Apply action then edit tasks in bulk
I click in the tags field and add my tag[s]
I click the check box for tags and the one for Just add these tag(s)
I click save
I get the error
Internal Error: SQL Error[42S22]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags_only_add_new' in 'SET'

the tags are not added to the tasks

If I move this plugin’s folder out of the plug-in folder then assigning tags works. Moving the plug-in’s folder back stops this working again.

Expected Behavior

Expected result: the tags are added to each task leaving the existing ones in place

Actual Behavior

error
Internal Error: SQL Error[42S22]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags_only_add_new' in 'SET'

Version

1.2.47

Database

mysql 11.7.2-MariaDB-ubu2204

PHP Version

8.3.25

Browser

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Operating System

Linux 5.15.0-153-generic (ubuntu 22.04)

Relevant Logs or Error Output

Internal Error: SQL Error[42S22]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags_only_add_new' in 'SET'
Additional

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions