Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 119997
Status: patched
Priority: 0/
Queue: SQL-Translator

Owner: Nobody in particular
Requestors: KES [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: S::T::Producer::YAML lose trigger 'scope' property
Download (untitled) / with headers
text/plain 274b
Download (untitled) / with headers
text/plain 446b
--- a/lib/SQL/Translator/Producer/ +++ b/lib/SQL/Translator/Producer/ @@ -148,6 +148,7 @@ sub view_trigger { 'fields' => scalar $trigger->fields, 'on_table' => scalar $trigger->on_table, 'action' => scalar $trigger->action, + 'scope' => scalar $trigger->scope, keys %{$trigger->extra} ? ('extra' => { $trigger->extra } ) : (), }; }
Download (untitled) / with headers
text/plain 738b
On 2017-01-26 15:28:19, KES wrote: Show quoted text
> according to the [DOC]( > Translator/lib/SQL/Translator/Schema/ trigger has > `scope`, but it is [lost when generate YAML > file]( > 0.11021/lib/SQL/Translator/Producer/
Thanks for the report. This affected the JSON and XML producers and the XML and SQLite parsers as well and is fixed in git by the following two commits:;a=commitdiff;h=c0ec0e22d3f0e3852c00daac5ef5763010b410c3;a=commitdiff;h=4384692aca82fb49ad4a49c08d7ddbde85bc4ecb

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to