Git Product home page Git Product logo

sonataarticlebundle's Introduction

SonataArticleBundle

Advanced article management

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Branch Github Actions Code Coverage Documentation
1.x Test Coverage Status Documentation Status
2.x Test Coverage Status Documentation Status

WARNING: This repository is abandoned

There is no active support on it.

Feel free to ask if you want to help to keep this project up to date.

Documentation

Check out the documentation on the official website.

Support

For general support and questions, please use StackOverflow.

If you think you found a bug or you have a feature idea to propose, feel free to open an issue after looking at the contributing guide.

License

This package is available under the MIT license.

sonataarticlebundle's People

Contributors

bdejacobet avatar c-rolland avatar core23 avatar covex-nn avatar franmomu avatar greg0ire avatar jordisala1991 avatar kunicmarko20 avatar mazsudo avatar nanofelis avatar oskarstark avatar qsomazzi avatar rande avatar sonataci avatar soullivaneuh avatar srascar avatar vincentlanglet avatar vincentlaurier avatar vyshkant avatar wharenn avatar zghosts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonataarticlebundle's Issues

Fragment deletion is not flagged anymore

Sonata packages

sonata-project/admin-bundle            3.88.0
sonata-project/article-bundle            1.5.0

Subject

The support for the _delete field has been lost when submitting the fragment form field

Steps to reproduce

  • Create an ArticleAdmin
  • Create a fragments field of type collection
  • Edit the article to add a fragment
  • Remove the fragment and submit the form
  • Dump the value of _delete in pre_bind_data_callback
    ex:
$formMapper
            ->add('fragments', CollectionType::class, [
                'constraints'  => [new Valid()],
                'by_reference' => false,
                'label'        => false,
                'pre_bind_data_callback' => function ($value) {
                    dump($value);

                    // ...

Expected results

When the fragment has beed deleted, $value where the key id corresponds to the deleted fragment should contain a _delete key

Actual results

$value where the key id corresponds to the deleted fragment is never received

Invalid include of a JS within a template

Subject

There should be not hard include of a js within a template.
Every time the template is called, the js is reloaded.
Also the path might conflict with the one defined in the webpack.config

The file should instead be compiled alongside the other assets using Encore.

<script type="text/javascript" src="{{ asset('bundles/sonataarticle/js/editOneAssociationFragment.js') }}"></script>

This bundle is abandoned // Looking for maintainers

We try to focus our time and energy on the core sonata bundles (admin, media, classification, seo ...).

Since no sonata-maintainer is using this project, there is no active support on this bundle.
That's why we will be marked it as abandoned.

Feel free to ask if you want to keep this project up to date.

Back Office Title should contain the empty_data option

The declaration of the backofficeTitle field should include the empty_data option.
If not, this conflicts with the entity type declaration.

ex:

$formMapper->add('backofficeTitle', TextType::class, [
    'empty_data' => ''
]);

## Expected

  • On form submit, when an empty string is sent, the property should be mapped

Actual

Expected argument of type "string", "null" given at property path "backofficeTitle".

First tagged release?

Hi,

We're using this dependency for quite a while with no tag to refer to. According to last months history on this bundle, it seems there is no incoming features nor unresolved bugs, it seems a perfect time to tag!

Is there any plan to create a first tagged release soon? If some work is still to be done before tagging, maybe we should list it :-)

Thanks

Repository purpose

Hi,
I found this new Sonata project...
What is the purpose of this repo? In what this will differ from SonataNewsBundle?

Thankyou

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.