Giter Club home page Giter Club logo

grails-attachmentable's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

grails-attachmentable's Issues

max number of file/folder limit exceeds

Hello, there is maximum number of file/folder limit for uploadDir in OS. http://stackoverflow.com/questions/466521/how-many-files-can-i-put-in-a-directory

grails.attachmentable.uploadDir = YOUR_USER_HOME/APP_NAME

After more attachments uploadDir exceeds maximum count.
Now folder structure is [uploadDir]/[attachment_link.reference_class]/[attachment_link.reference_id]/[attachment.id]+[attachment.ext]
Maybe folder structure must be change or add some feature like group by date or sequence.

Thanks,

Error using plugin for Grails 2.5

I get this error when I run the plugin with grails 2.5.3, it seems to conflict with elasticsearch plugin, but elasticsearch was working fine, but after I added attachmentable the app stopped running with this error in console:

.Error | Fatal error during compilation org.apache.tools.ant.BuildException: java.lang.NoClassDefFoundError: Unable to load class org.elasticsearch.common.xcontent.XContentBuilder due to missing dependency org/apache/lucene/util/BytesRef (Use --stacktrace to see the full trace)

work with grails 2.3 or higher

the configuration stuff has change in 2.3, and this plugin no longer works out of the box. any plans to update it for grails 2.3/4 and/or/grails 3?

Error uploading hidden UNIX files

When uploading a hidden file from a UNIX system -- that is, a file that starts with a dot (.) -- an exception is thrown from within AttachmentableService.

The Exception is caused by an invalid instance of the type Attachmentable: The file name is missing. Apache Commons FilenameUtils is used by AttachmentableService to retrieve the basename of the file. Unfortunately, this does not work for hidden files; getBaseName just returns an empty String, because it thinks the dot introduces the file extension.

If there is a workaround for this issue, I will be happy to use it.

unable to resolve class com.macrobit.grails.plugins.attachmentable.core.Attachmentable

Hi,
I'm trying to update an older Grails/Groovy application that we have but I'm having problems with both the .Attachment and .Attachmentable classes. Both report as unable to resolve the class.

It's currently defined in our build.gradle as:
implementation ("org.grails.plugins:attachmentable:0.4.2") {
exclude module: 'xml-apis'
}

Would anyone be able to help me to find out why this is giving me problems?

Remote directory or Saving in Db

Hi, im running multiple instance of server so is there any way i can put attachments files on remote directory or Db so whichever server serve the request can get files from remote directory or Db

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.